public function run()
    {

        // register the default autoloader
        require SERVER_AUTOLOADER;

        // create a local copy of the manager instance
        $manager = $this->manager;

        // query whether the manager has an application with class loaders/annotation registries to be registered
        if (method_exists($manager, 'getApplication') && $application = $manager->getApplication()) {
            $application->registerClassLoaders();
            $application->registerAnnotationRegistries();
        }

        // stop the manager if an apropriate method exists
        if (method_exists($manager, 'stop')) {
            $manager->stop();
        }
    }
public function run()
    {

        // register the default autoloader
        require SERVER_AUTOLOADER;

        // create a local copy of the manager instance
        $manager = $this->manager;

        // query whether the manager has an application with class loaders/annotation registries to be registered
        if (method_exists($manager, 'getApplication') && $application = $manager->getApplication()) {
            $application->registerClassLoaders();
            $application->registerAnnotationRegistries();
        }

        // stop the manager if an apropriate method exists
        if (method_exists($manager, 'stop')) {
            $manager->stop();
        }
    }
public function run ( ) { // register the default autoloader require SERVER_AUTOLOADER ; // create a local copy of the manager instance $ manager = $ this -> manager ; // query whether the manager has an application with class loaders/annotation registries to be registered if ( method_exists ( $ manager , 'getApplication' ) && $ application = $ manager -> getApplication ( ) ) { $ application -> registerClassLoaders ( ) ; $ application -> registerAnnotationRegistries ( ) ; } // stop the manager if an apropriate method exists if ( method_exists ( $ manager , 'stop' ) ) { $ manager -> stop ( ) ; } }
Handles the clean manager shutdown.

@return void
Handles the clean manager shutdown .