public function bootstrap($appBootstrap, $appenv, $debug)
    {
        $appBootstrap = $this->normalizeAppBootstrap($appBootstrap);

        $this->bootstrap = new $appBootstrap();
        if ($this->bootstrap instanceof ApplicationEnvironmentAwareInterface) {
            $this->bootstrap->initialize($appenv, $debug);
        }
        if ($this->bootstrap instanceof BootstrapInterface) {
            $this->application = $this->bootstrap->getApplication();
        }
    }
public function bootstrap($appBootstrap, $appenv, $debug)
    {
        $appBootstrap = $this->normalizeAppBootstrap($appBootstrap);

        $this->bootstrap = new $appBootstrap();
        if ($this->bootstrap instanceof ApplicationEnvironmentAwareInterface) {
            $this->bootstrap->initialize($appenv, $debug);
        }
        if ($this->bootstrap instanceof BootstrapInterface) {
            $this->application = $this->bootstrap->getApplication();
        }
    }
public function bootstrap ( $ appBootstrap , $ appenv , $ debug ) { $ appBootstrap = $ this -> normalizeAppBootstrap ( $ appBootstrap ) ; $ this -> bootstrap = new $ appBootstrap ( ) ; if ( $ this -> bootstrap instanceof ApplicationEnvironmentAwareInterface ) { $ this -> bootstrap -> initialize ( $ appenv , $ debug ) ; } if ( $ this -> bootstrap instanceof BootstrapInterface ) { $ this -> application = $ this -> bootstrap -> getApplication ( ) ; } }
Bootstrap an application implementing the HttpKernelInterface.

In the process of bootstrapping we decorate our application with any number of
*middlewares* using StackPHP's Stack\Builder.

The app bootstraping itself is actually proxied off to an object implementing the
PHPPM\Bridges\BridgeInterface interface which should live within your app itself and
be able to be autoloaded.

@param string $appBootstrap The name of the class used to bootstrap the application
@param string|null $appenv The environment your application will use to bootstrap (if any)
@param boolean $debug If debug is enabled
Bootstrap an application implementing the HttpKernelInterface .