PHP Class Pantheon\Terminus\Authorizer

Inheritance: 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
Mostrar archivo Open project: pantheon-systems/terminus

Public Methods

Method Description
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.

Method Details

ensureLogin() public method

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