Beispiel #1
0
 /**
  * Object constructor.
  */
 public function __construct()
 {
     Auth::ensureLogin();
     parent::__construct();
     $this->sites = new Sites();
 }
Beispiel #2
0
 /**
  * Instantiates object, ensures login
  *
  * @return [Instruments_Command] $this
  */
 public function __construct()
 {
     Auth::ensureLogin();
     parent::__construct();
 }
Beispiel #3
0
 /**
  * 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);
 }
Beispiel #4
0
 /**
  * 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();
 }
Beispiel #5
0
 public function testEnsureLogin()
 {
     $this->assertTrue(Auth::ensureLogin());
 }