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

public setServingStatic ( boolean $servingStatic )
$servingStatic boolean
Пример #1
0
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $config = $this->initializeConfig($input, $output);
     $handler = new ProcessManager($output, $config['port'], $config['host'], $config['workers']);
     $handler->setBridge($config['bridge']);
     $handler->setAppEnv($config['app-env']);
     $handler->setDebug((bool) $config['debug']);
     $handler->setLogging((bool) $config['logging']);
     $handler->setAppBootstrap($config['bootstrap']);
     $handler->setMaxRequests($config['max-requests']);
     $handler->setPhpCgiExecutable($config['cgi-path']);
     $handler->setSocketPath($config['socket-path']);
     $handler->setConcurrentRequestsPerWorker($config['concurrent-requests']);
     $handler->setServingStatic($config['static']);
     $handler->run();
 }