/** * Includes the dwooAutoload php * * @param string $twigAutoloaderUri /URI/of/twig/Autoloader.php * @param string $cachePath * @param string $templatesPath */ public function __construct($twigAutoloaderUri, $cachePath = false, $templatesPath = null) { parent::__construct($templatesPath); require_once $twigAutoloaderUri; Twig_Autoloader::register(); $this->cachePath = $cachePath; }
/** * Includes the dwooAutoload php * * @param string $dwooAutoloadUri /URI/of/dwoo/dwooAutoload.php * @param string $compiledPath; * @param string $cachePath; * @param string $functionsPath Dwoo functions * @param string $templatesPath */ public function __construct($dwooAutoloadUri, $compiledPath, $cachePath, $functionsPath, $templatesPath = null) { parent::__construct($templatesPath); include $dwooAutoloadUri; $this->functionsPath = $functionsPath; $this->compiledPath = $compiledPath; $this->cachePath = $cachePath; }