Ejemplo n.º 1
0
 /**
  * @api
  */
 public function __construct(Contract\Cache $cache, Contract\Session $session)
 {
     parent::__construct();
     $this->session = $session;
     $this->cache = $cache;
 }
Ejemplo n.º 2
0
 /**
  * @return PHPCrystal\PHPCrystal\Service\Event\Type\InitService
  */
 public function dispatchInitServiceEvent($serviceInstance)
 {
     $initServiceEvent = Event\Type\System\InitService::create($serviceInstance);
     return parent::dispatch($initServiceEvent);
 }