Nwidart\Modules\Commands\ListCommand::getRows PHP 메소드

getRows() 공개 메소드

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