예제 #1
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);
 }