/**
  * (non-PHPdoc)
  * @see \TwigGenerator\Builder\BaseBuilder::writeOnDisk()
  */
 public function writeOnDisk($outputDirectory)
 {
     if ($this->isMultiTemplatesBuilder()) {
         foreach ($this->getTemplatesToGenerate() as $templateName => $outputName) {
             $this->setOutputName($outputName);
             $this->setTemplateName($templateName);
             parent::writeOnDisk($outputDirectory);
         }
     } else {
         parent::writeOnDisk($outputDirectory);
     }
 }
 public function __construct()
 {
     parent::__construct();
     $this->variables = new ParameterBag(array());
 }