/** * @{inheritdoc} */ public function setEngine(Engine $engine) { $this->engine = $engine; $this->parser = $engine->getParser(); }