public function setTaggerEngine(scripts\tagger\engine $engine = null) { $this->taggerEngine = $engine ?: new scripts\tagger\engine(); return $this; }