src/Markei/SilexWebsiteFramework/Application.php
protected function registerControllers()
    {
        $this['controllers.page'] = function ($app) { return new PageController($app); };
        $this['controllers.imagine'] = function ($app) { return new ImagineController($app); };
        $this['controllers.error'] = function ($app) { return new ErrorController($app); };
    }
protected function registerControllers()
    {
        $this['controllers.page'] = function ($app) { return new PageController($app); };
        $this['controllers.imagine'] = function ($app) { return new ImagineController($app); };
        $this['controllers.error'] = function ($app) { return new ErrorController($app); };
    }
protected function registerControllers ( ) { $ this [ 'controllers.page' ] = function ( $ app ) { return new PageController ( $ app ) ; } ; $ this [ 'controllers.imagine' ] = function ( $ app ) { return new ImagineController ( $ app ) ; } ; $ this [ 'controllers.error' ] = function ( $ app ) { return new ErrorController ( $ app ) ; } ; }
Register the controllers in the container
Register the controllers in the container