CacheTool\Command\OpcacheStatusCommand::getGeneralRows PHP Method

getGeneralRows() protected method

protected getGeneralRows ( array $info ) : array
$info array
return array
    protected function getGeneralRows($info)
    {
        return array(array('Enabled', $info['opcache_enabled'] ? 'Yes' : 'No'), array('Cache full', $info['cache_full'] ? 'Yes' : 'No'), array('Restart pending', $info['restart_pending'] ? 'Yes' : 'No'), array('Restart in progress', $info['restart_in_progress'] ? 'Yes' : 'No'), array('Memory used', Formatter::bytes($info['memory_usage']['used_memory'])), array('Memory free', Formatter::bytes($info['memory_usage']['free_memory'])), array('Memory wasted (%)', sprintf("%s (%s%%)", Formatter::bytes($info['memory_usage']['wasted_memory']), $info['memory_usage']['current_wasted_percentage'])));
    }