src/Synapse/Work/AbstractConsoleWork.php
protected function application()
    {
        // Initialize the Silex Application
        $applicationInitializer = new ApplicationInitializer;

        $app = $applicationInitializer->initialize();

        // Set the default services
        $defaultServices = new \Synapse\Application\Services;
        $defaultServices->register($app);

        // Set the application-specific services
        $appServices = new \Application\Services;
        $appServices->register($app);

        return $app;
    }
protected function application()
    {
        // Initialize the Silex Application
        $applicationInitializer = new ApplicationInitializer;

        $app = $applicationInitializer->initialize();

        // Set the default services
        $defaultServices = new \Synapse\Application\Services;
        $defaultServices->register($app);

        // Set the application-specific services
        $appServices = new \Application\Services;
        $appServices->register($app);

        return $app;
    }
protected function application ( ) { // Initialize the Silex Application $ applicationInitializer = new ApplicationInitializer ; $ app = $ applicationInitializer -> initialize ( ) ; // Set the default services $ defaultServices = new \ Synapse \ Application \ Services ; $ defaultServices -> register ( $ app ) ; // Set the application-specific services $ appServices = new \ Application \ Services ; $ appServices -> register ( $ app ) ; return $ app ; }
Return the Silex application loaded with all routes and services

@return Application
Return the Silex application loaded with all routes and services