public function __construct(EngineInterface $engine, array $resources) { $this->engine = $engine; $this->resources = $resources; $this->varStack = array(); $this->context = array(); $this->templates = array(); $this->themes = array(); }