Example #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());
 }