src/Budkit/Application/Support/Application.php
public function initialize()
    {
        //The global dispatcher

        //state the application is initialized;
        //register aliases as class mocks such that static calls on mock map to instance calls;
        $this->createAliasMock(
            array_merge(
                $this->aliases, [
                    "route" => 'Budkit\Routing\Router', //this such that we can call Route::add to add router;
                    'controller' => 'Budkit\Routing\Controller',
                    'view' => 'Budkit\View\Display'
                ]
            )
        );

        //Trigger the app initialise event;
        $this->observer->trigger(new Event("app.init", $this));
    }
public function initialize()
    {
        //The global dispatcher

        //state the application is initialized;
        //register aliases as class mocks such that static calls on mock map to instance calls;
        $this->createAliasMock(
            array_merge(
                $this->aliases, [
                    "route" => 'Budkit\Routing\Router', //this such that we can call Route::add to add router;
                    'controller' => 'Budkit\Routing\Controller',
                    'view' => 'Budkit\View\Display'
                ]
            )
        );

        //Trigger the app initialise event;
        $this->observer->trigger(new Event("app.init", $this));
    }
public function initialize ( ) { //The global dispatcher //state the application is initialized; //register aliases as class mocks such that static calls on mock map to instance calls; $ this -> createAliasMock ( array_merge ( $ this -> aliases , [ "route" => 'Budkit\Routing\Router' , //this such that we can call Route::add to add router; 'controller' => 'Budkit\Routing\Controller' , 'view' => 'Budkit\View\Display' ] ) ) ; //Trigger the app initialise event; $ this -> observer -> trigger ( new Event ( "app.init" , $ this ) ) ; }
Initialised the app when all services are registered.

- Triggers the `app.init` event
Initialised the app when all services are registered .