yii\console\controllers\HelpController::getCommands PHP 메소드

getCommands() 공개 메소드

Returns all available command names.
public getCommands ( ) : array
리턴 array all available command names
    public function getCommands()
    {
        $commands = $this->getModuleCommands(Yii::$app);
        sort($commands);
        return array_unique($commands);
    }