private function __construct(Dice $container)
{
$this->container = $container;
+ }
+
+ public function processRequest(ServerRequestInterface $request, float $start_time): void
+ {
$this->requestId = $this->container->create(Request::class)->getRequestId();
$this->auth = $this->container->create(Authentication::class);
$this->config = $this->container->create(IManageConfigValues::class);
$this->args = $this->container->create(Arguments::class);
$this->session = $this->container->create(IHandleUserSessions::class);
$this->appHelper = $this->container->create(AppHelper::class);
- }
- public function processRequest(ServerRequestInterface $request, float $start_time): void
- {
$this->load(
$this->container->create(DbaDefinition::class),
$this->container->create(ViewDefinition::class),
/**
* Load the whole app instance
*/
- public function load(DbaDefinition $dbaDefinition, ViewDefinition $viewDefinition)
+ private function load(DbaDefinition $dbaDefinition, ViewDefinition $viewDefinition)
{
if ($this->config->get('system', 'ini_max_execution_time') !== false) {
set_time_limit((int)$this->config->get('system', 'ini_max_execution_time'));
* @throws HTTPException\InternalServerErrorException
* @throws \ImagickException
*/
- public function runFrontend(
+ private function runFrontend(
Router $router,
IManagePersonalConfigValues $pconfig,
Authentication $auth,