/** * Object constructor. */ public function __construct() { Auth::ensureLogin(); parent::__construct(); $this->sites = new Sites(); }
/** * Instantiates object, ensures login * * @return [Instruments_Command] $this */ public function __construct() { Auth::ensureLogin(); parent::__construct(); }
/** * Instantiates object, ensures login * * @param array $options Options to construct the command object * @returns InstrumentsCommand */ public function __construct(array $options = []) { Auth::ensureLogin(); parent::__construct($options); }
/** * Object constructor * * @param array $options Options to construct the command object * @return SiteCommand */ public function __construct(array $options = []) { Auth::ensureLogin(); parent::__construct($options); $this->sites = new Sites(); }
public function testEnsureLogin() { $this->assertTrue(Auth::ensureLogin()); }