public function bootstrap()
{
// register the default autoloader
require SERVER_AUTOLOADER;
// synchronize the application instance and register the class loaders
$application = $this->application;
$application->registerClassLoaders();
// try to load the profile logger
if ($this->profileLogger = $application->getInitialContext()->getLogger(LoggerUtils::PROFILE)) {
$this->profileLogger->appendThreadContext(sprintf('queue-worker-%s', $this->priorityKey));
}
}