示例#1
0
文件: cli.php 项目: nataliejeremy/cli
 public function __construct()
 {
     parent::__construct();
     $this->sitesCache = new SitesCache();
 }
示例#2
0
 /**
  * Instantiates object, ensures login
  *
  * @return [Instruments_Command] $this
  */
 public function __construct()
 {
     Auth::ensureLogin();
     parent::__construct();
 }
示例#3
0
文件: site.php 项目: RobLoach/cli
 public function __construct()
 {
     Auth::ensureLogin();
     parent::__construct();
     $this->sites = new Sites();
 }
示例#4
0
文件: auth.php 项目: blueprintmrk/cli
 /**
  * Instantiates object, sets auth property
  *
  * @return [Auth_Command] $this
  */
 public function __construct()
 {
     parent::__construct();
     $this->auth = new \Terminus\Auth();
 }
示例#5
0
 public function __construct()
 {
     parent::__construct();
 }
示例#6
0
文件: sites.php 项目: newtoid/cli
 /**
  * Show a list of your sites on Pantheon
  * @package Terminus
  * @version 2.0
  */
 public function __construct()
 {
     parent::__construct();
     Auth::loggedIn();
     $this->sites = new Sites();
 }