Пример #1
0
 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());
 }
Пример #2
0
 /**
  * @inheritdoc
  */
 public function addCompiler($compiler)
 {
     $this->compiler->add($compiler);
     return $this;
 }