private static function toTable(ResultCollection $resultCollection): array
    {
        return array_map(function (ResultInterface $result): array {
            return self::toRow($result);
        }, $resultCollection->all());
    }
private static function toTable(ResultCollection $resultCollection): array
    {
        return array_map(function (ResultInterface $result): array {
            return self::toRow($result);
        }, $resultCollection->all());
    }
private static function toTable ( ResultCollection $ resultCollection ) : array { return array_map ( function ( ResultInterface $ result ) : array { return self :: toRow ( $ result ) ; } , $ resultCollection -> all ( ) ) ; }
Converts the underlying results into a plain PHP array which printable on console tables.

@param ResultCollection $resultCollection The result collection instance.

@return array
Converts the underlying results into a plain PHP array which printable on console tables .