AppserverIo\Appserver\ServletEngine\StandardGarbageCollector::bootstrap PHP Метод

bootstrap() публичный Метод

This method will be invoked before the while() loop starts and can be used to implement some bootstrap functionality.
public bootstrap ( ) : void
Результат void
    public function bootstrap()
    {
        // setup autoloader
        require SERVER_AUTOLOADER;
        // register the application's class loaders
        $application = $this->getApplication();
        $application->registerClassLoaders();
        // try to load the system logger
        $this->systemLogger = $this->getLogger(LoggerUtils::SYSTEM);
        // try to load the profile logger
        if ($this->profileLogger = $this->getLogger(LoggerUtils::PROFILE)) {
            $this->profileLogger->appendThreadContext('servlet-engine-garbage-collector');
        }
    }