/** * Object constructor * * @param array $options Options to construct the command object * @return SiteCommand */ public function __construct(array $options = []) { parent::__construct($options); $this->sites = new Sites(); // Insure that $workdir will be deleted on exit. register_shutdown_function([$this, 'cleanup']); }
/** * Object constructor. */ public function __construct() { Auth::ensureLogin(); parent::__construct(); $this->sites = new Sites(); }
/** * Shows a list of your sites on Pantheon * * @param array $options Options to construct the command object * @return SitesCommand */ public function __construct(array $options = []) { parent::__construct($options); $this->helpers->auth->ensureLogin(); $this->sites = new Sites(); }
public function __construct() { parent::__construct(); $this->sitesCache = new SitesCache(); }
/** * Object constructor * * @param array $options Elements as follow: * @return PluginCommand */ public function __construct(array $options = []) { parent::__construct($options); }
/** * Instantiates object, ensures login * * @return [InstrumentsCommand] $this */ public function __construct() { Auth::ensureLogin(); parent::__construct(); }
/** * 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(); }
/** * Instantiates object, sets auth property * * @param array $options Options to construct the command object * @return AuthCommand */ public function __construct(array $options = []) { parent::__construct($options); $this->auth = $this->helpers->auth; }
/** * Object constructor * * @param array $options Options to construct the command object * @return SiteCommand */ public function __construct(array $options = []) { parent::__construct($options); $this->loadUtil('LocalSite'); $this->loadUtil('Config'); }
/** * Instantiates object, sets auth property * * @param array $options Options to construct the command object * @return AuthCommand */ public function __construct(array $options = []) { parent::__construct($options); $this->auth = new Auth(); }
/** * 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 Elements as follow: * @return PantheonAliases */ public function __construct(array $options = []) { $options['require_login'] = true; parent::__construct($options); }
/** * Instantiates object, sets auth property */ public function __construct() { parent::__construct(); $this->auth = new Auth(); }
/** * Object constructor * * @param array $options Options to construct the command object * @return CliCommand */ public function __construct(array $options = []) { parent::__construct($options); $this->sites = new Sites(); }