original_string: public function init()
      {
          $this->invokeBeforeContainerCreatedHook();
  
          $this->container = $this->createContainer();
  
          StaticContainer::push($this->container);
  
          $this->validateEnvironment();
  
          $this->invokeEnvironmentBootstrappedHook();
  
          Piwik::postEvent('Environment.bootstrapped'); // this event should be removed eventually
      }
code: public function init()
      {
          $this->invokeBeforeContainerCreatedHook();
  
          $this->container = $this->createContainer();
  
          StaticContainer::push($this->container);
  
          $this->validateEnvironment();
  
          $this->invokeEnvironmentBootstrappedHook();
  
          Piwik::postEvent('Environment.bootstrapped'); // this event should be removed eventually
      }
code_tokens: public function init ( ) { $ this -> invokeBeforeContainerCreatedHook ( ) ; $ this -> container = $ this -> createContainer ( ) ; StaticContainer :: push ( $ this -> container ) ; $ this -> validateEnvironment ( ) ; $ this -> invokeEnvironmentBootstrappedHook ( ) ; Piwik :: postEvent ( 'Environment.bootstrapped' ) ; // this event should be removed eventually }
docstring: Initializes the kernel globals and DI container.
docstring_tokens: Initializes the kernel globals and DI container .