Exemplo n.º 1
0
 /**
  * Instantiate the renderer.
  *
  * @param   array  $config  The array of configuration parameters.
  *
  * @since   1.0
  */
 public function __construct($config = array())
 {
     // Merge the config.
     $this->config = array_merge($this->config, $config);
     parent::__construct(array('loader' => new \Mustache_Loader_FilesystemLoader($this->config['templates_base_dir']), 'partials_loader' => new \Mustache_Loader_FilesystemLoader($this->config['partials_base_dir'])));
 }
Exemplo n.º 2
0
 public function __construct($options)
 {
     parent::__construct($options);
 }