source/Core/SystemEventHandler.php
protected function getAppServerService()
    {
        $config = \OxidEsales\Eshop\Core\Registry::getConfig();
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $appServerDao = oxNew(\OxidEsales\Eshop\Core\Dao\ApplicationServerDao::class, $database, $config);
        $utilsServer = oxNew(\OxidEsales\Eshop\Core\UtilsServer::class);

        $appServerService = oxNew(
            \OxidEsales\Eshop\Core\Service\ApplicationServerService::class,
            $appServerDao,
            $utilsServer,
            \OxidEsales\Eshop\Core\Registry::get("oxUtilsDate")->getTime()
        );

        return $appServerService;
    }
protected function getAppServerService()
    {
        $config = \OxidEsales\Eshop\Core\Registry::getConfig();
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $appServerDao = oxNew(\OxidEsales\Eshop\Core\Dao\ApplicationServerDao::class, $database, $config);
        $utilsServer = oxNew(\OxidEsales\Eshop\Core\UtilsServer::class);

        $appServerService = oxNew(
            \OxidEsales\Eshop\Core\Service\ApplicationServerService::class,
            $appServerDao,
            $utilsServer,
            \OxidEsales\Eshop\Core\Registry::get("oxUtilsDate")->getTime()
        );

        return $appServerService;
    }
protected function getAppServerService ( ) { $ config = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; $ database = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ appServerDao = oxNew ( \ OxidEsales \ Eshop \ Core \ Dao \ ApplicationServerDao :: class , $ database , $ config ) ; $ utilsServer = oxNew ( \ OxidEsales \ Eshop \ Core \ UtilsServer :: class ) ; $ appServerService = oxNew ( \ OxidEsales \ Eshop \ Core \ Service \ ApplicationServerService :: class , $ appServerDao , $ utilsServer , \ OxidEsales \ Eshop \ Core \ Registry :: get ( "oxUtilsDate" ) -> getTime ( ) ) ; return $ appServerService ; }
Gets application server service.

@return \OxidEsales\Eshop\Core\Service\ApplicationServerServiceInterface
Gets application server service .