Exemplo n.º 1
0
Arquivo: Core.php Projeto: noptic/co3
 public function __construct()
 {
     $this->onPluginSet = Event::inject(array('owner' => $this));
 }
Exemplo n.º 2
0
Arquivo: App.php Projeto: noptic/co3
 public function __construct()
 {
     foreach (array('onBoot', 'onRun', 'onFail', 'onShutdown') as $name) {
         $this->{$name} = Event::inject(array('owner' => $this));
     }
 }