protected function getBasePingData()
    {
        return [
            'key' => $this->key,
            'nbPlayers' => count($this->playerStorage->getOnline()),
            'country' => $this->countries->getIsoAlpha2FromName($this->countries->parseCountryFromPath($this->gameData->getServerPath())),
            'version' => Application::EXPANSION_VERSION,
            'php_version' => $this->gameData->getServerCleanPhpVersion(),
            'php_version_short' => $this->gameData->getServerMajorPhpVersion(),
            'mysql_version' => 'unknown',
            'memory' => memory_get_usage(),
            'memory_peak' => memory_get_peak_usage(),
            'title' => str_replace('@','_by_', $this->gameData->getVersion()->titleId),
            'game' => $this->gameData->getTitleGame(),
            'mode' => strtolower($this->gameData->getGameInfos()->scriptName),
            'serverOs' => $this->gameData->getServerOs(),
        ];
    }
protected function getBasePingData()
    {
        return [
            'key' => $this->key,
            'nbPlayers' => count($this->playerStorage->getOnline()),
            'country' => $this->countries->getIsoAlpha2FromName($this->countries->parseCountryFromPath($this->gameData->getServerPath())),
            'version' => Application::EXPANSION_VERSION,
            'php_version' => $this->gameData->getServerCleanPhpVersion(),
            'php_version_short' => $this->gameData->getServerMajorPhpVersion(),
            'mysql_version' => 'unknown',
            'memory' => memory_get_usage(),
            'memory_peak' => memory_get_peak_usage(),
            'title' => str_replace('@','_by_', $this->gameData->getVersion()->titleId),
            'game' => $this->gameData->getTitleGame(),
            'mode' => strtolower($this->gameData->getGameInfos()->scriptName),
            'serverOs' => $this->gameData->getServerOs(),
        ];
    }
protected function getBasePingData ( ) { return [ 'key' => $ this -> key , 'nbPlayers' => count ( $ this -> playerStorage -> getOnline ( ) ) , 'country' => $ this -> countries -> getIsoAlpha2FromName ( $ this -> countries -> parseCountryFromPath ( $ this -> gameData -> getServerPath ( ) ) ) , 'version' => Application :: EXPANSION_VERSION , 'php_version' => $ this -> gameData -> getServerCleanPhpVersion ( ) , 'php_version_short' => $ this -> gameData -> getServerMajorPhpVersion ( ) , 'mysql_version' => 'unknown' , 'memory' => memory_get_usage ( ) , 'memory_peak' => memory_get_peak_usage ( ) , 'title' => str_replace ( '@' , '_by_' , $ this -> gameData -> getVersion ( ) -> titleId ) , 'game' => $ this -> gameData -> getTitleGame ( ) , 'mode' => strtolower ( $ this -> gameData -> getGameInfos ( ) -> scriptName ) , 'serverOs' => $ this -> gameData -> getServerOs ( ) , ] ; }
Get base data for pinging the server.

@return array
Get base data for pinging the server .