source/Core/Service/ApplicationServerService.php
protected function filterActiveAppServers($appServerList)
    {
        $activeServerList = [];
        /** @var \OxidEsales\Eshop\Core\DataObject\ApplicationServer $server */
        foreach ($appServerList as $server) {
            if ($server->isInUse($this->currentTime)) {
                $activeServerList[$server->getId()] = $server;
            }
        }
        return $activeServerList;
    }
protected function filterActiveAppServers($appServerList)
    {
        $activeServerList = [];
        /** @var \OxidEsales\Eshop\Core\DataObject\ApplicationServer $server */
        foreach ($appServerList as $server) {
            if ($server->isInUse($this->currentTime)) {
                $activeServerList[$server->getId()] = $server;
            }
        }
        return $activeServerList;
    }
protected function filterActiveAppServers ( $ appServerList ) { $ activeServerList = [ ] ; /** @var \OxidEsales\Eshop\Core\DataObject\ApplicationServer $server */ foreach ( $ appServerList as $ server ) { if ( $ server -> isInUse ( $ this -> currentTime ) ) { $ activeServerList [ $ server -> getId ( ) ] = $ server ; } } return $ activeServerList ; }
Filter only active application servers from given list.

@param array $appServerList The list of application servers.

@return array
Filter only active application servers from given list .