Nwidart\Modules\Commands\ListCommand::getRows PHP Method

getRows() public method

Get table rows.
public getRows ( ) : array
return array
    public function getRows()
    {
        $rows = [];
        foreach ($this->getModules() as $module) {
            $rows[] = [$module->getStudlyName(), $module->enabled() ? 'Enabled' : 'Disabled', $module->get('order'), $module->getPath()];
        }
        return $rows;
    }