PHP 클래스 Pantheon\Terminus\Authorizer

상속: implements Robo\Contract\ConfigAwareInterface, implements Psr\Log\LoggerAwareInterface, implements Pantheon\Terminus\Session\SessionAwareInterface, use trait Robo\Common\ConfigAwareTrait, use trait Psr\Log\LoggerAwareTrait, use trait Pantheon\Terminus\Session\SessionAwareTrait
파일 보기 프로젝트 열기: pantheon-systems/terminus

공개 메소드들

메소드 설명
ensureLogin ( ) Authorize the current user prior to running a command. The Annotated Commands hook manager will call this function during the pre-validate phase of any command that has an 'authorize' annotation.

메소드 상세

ensureLogin() 공개 메소드

TODO: Currently this is not being triggered when commands using it are run.
public ensureLogin ( )