src/Console/BaseCommand.php
protected function transformForTable($data)
    {
        $result = [];
        foreach ($data as $key => $value) {
            $result[] = [$key, $value];
        }

        return $result;
    }
protected function transformForTable($data)
    {
        $result = [];
        foreach ($data as $key => $value) {
            $result[] = [$key, $value];
        }

        return $result;
    }
Transforms an assoc array into a multidementional one
which is expected by helper table() method.

@param $data

@return array