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
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )