Exemplo n.º 1
0
 /**
  * @throws InvalidEventListenerCollection
  * @throws InvalidDomainNamespace
  * @throws InvalidRequestInfoImplementation
  * @throws InvalidUriResolverImplementation
  * @throws InvalidUriRewriterImplementation
  */
 public function init()
 {
     $this->delegate->setUpErrorHandling();
     $this->delegate->setUpSessionHandling();
     $this->guardConfigIsValid();
     $initializedEvent = new IceHawkWasInitializedEvent();
     $this->publishEvent($initializedEvent);
 }
Exemplo n.º 2
0
 /**
  * @throws InvalidEventListenerCollection
  * @throws InvalidDomainNamespace
  * @throws InvalidRequestInfoImplementation
  * @throws InvalidUriResolverImplementation
  * @throws InvalidUriRewriterImplementation
  */
 public function init()
 {
     $this->delegate->setUpErrorHandling();
     $this->delegate->setUpSessionHandling();
     $this->delegate->setUpEnvironment();
     $this->config = new IceHawkConfigWrapper($this->config);
     $this->guardConfigIsValid();
     $requestInfo = $this->config->getRequestInfo();
     $initializedEvent = new IceHawkWasInitializedEvent($requestInfo);
     $this->publishEvent($initializedEvent);
 }