Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function __construct(ViewManager $views, FilesInterface $files, $namespace, $view, $filename)
 {
     //Our configuration is stored in parent ViewManager config
     $this->config = $views->config()['compiler'];
     $this->config['cache'] = $views->config()['cache'];
     $this->views = $views;
     $this->files = $files;
     $this->namespace = $namespace;
     $this->view = $view;
     $this->filename = $filename;
     $this->dependencies = $views->getDependencies();
 }