source/Core/Dao/ApplicationServerDao.php
private function convertAppServerToConfigOption($appServer)
    {
        $serverData = [
            'id'                => $appServer->getId(),
            'timestamp'         => $appServer->getTimestamp(),
            'ip'                => $appServer->getIp(),
            'lastFrontendUsage' => $appServer->getLastFrontendUsage(),
            'lastAdminUsage'    => $appServer->getLastAdminUsage()
        ];

        return serialize($serverData);
    }
private function convertAppServerToConfigOption($appServer)
    {
        $serverData = [
            'id'                => $appServer->getId(),
            'timestamp'         => $appServer->getTimestamp(),
            'ip'                => $appServer->getIp(),
            'lastFrontendUsage' => $appServer->getLastFrontendUsage(),
            'lastAdminUsage'    => $appServer->getLastAdminUsage()
        ];

        return serialize($serverData);
    }
private function convertAppServerToConfigOption ( $ appServer ) { $ serverData = [ 'id' => $ appServer -> getId ( ) , 'timestamp' => $ appServer -> getTimestamp ( ) , 'ip' => $ appServer -> getIp ( ) , 'lastFrontendUsage' => $ appServer -> getLastFrontendUsage ( ) , 'lastAdminUsage' => $ appServer -> getLastAdminUsage ( ) ] ; return serialize ( $ serverData ) ; }
Convert ApplicationServer object into simple array for saving into database oxconfig table.

@param \OxidEsales\Eshop\Core\DataObject\ApplicationServer $appServer An application server object.

@return array
Convert ApplicationServer object into simple array for saving into database oxconfig table .