private function process($group, CompilerHandler $compiler) { if (!$this->groups->offsetExists($group)) { throw Exception::groupNotFound($group); } $files = $this->groups->offsetGet($group); return $this->getBinder()->bind($files, $compiler->get()); }
/** * @inheritdoc */ public function addCompiler($compiler) { $this->compiler->add($compiler); return $this; }