PHP 클래스 luya\console\Application

저자: nadar
상속: extends yii\console\Application, use trait luya\traits\ApplicationTrait
파일 보기 프로젝트 열기: luyadev/luya

공개 프로퍼티들

프로퍼티 타입 설명
$mute Mute the Applications ouput, this is used to make application cli tests with no output. The luya\console\Controller output/print methods are listening to this property.

공개 메소드들

메소드 설명
coreCommands ( ) Provides an array with all LUYA core commands.
coreComponents ( )
runAction ( $route, $params = [] ) In addition to the default behavior of runAction, the console command will strip the first element of the route and threat it as a module changed the controller namespace to run the commands.

메소드 상세

coreCommands() 공개 메소드

Instead of overriding the core command application and merged the value we directly copied them.
또한 보기: yii\console\Application::coreCommands()
public coreCommands ( )

coreComponents() 공개 메소드

public coreComponents ( )

runAction() 공개 메소드

./vendor/bin/luya // Will run all controllers located in the commands folder of a module. {@inheritDoc}
또한 보기: yii\console\Application::runAction()
부터: 1.0.0-beta6
public runAction ( $route, $params = [] )

프로퍼티 상세

$mute 공개적으로 프로퍼티

Mute the Applications ouput, this is used to make application cli tests with no output. The luya\console\Controller output/print methods are listening to this property.
public $mute