public function render(BuilderInterface $builder)
    {
        list($code, $name, $symbol, $displayFormat, $locale, $precision, $value) = array_values($builder->getResult());
        $tpl = file_get_contents(__DIR__ . '/CurrencyClass.tpl');
        $out = str_replace(
            array(
                '<namespace>',
                '<name>',
                '<code>',
                '<value>',
                '<symbol>',
                '<precision>',
                '<displayFormat>',
                '<locale>'
            ),
            array(
                $this->namespace->get(),
                $name,
                $code,
                $value,
                $symbol,
                $precision,
                $displayFormat,
                $locale
            ),
            $tpl);
        file_put_contents($this->outDir->get() . "/{$code}.php", $out);

        return $out;
    }