PHP Class PantheonAliases, terminus

Datei anzeigen Open project: pantheon-systems/terminus

Public Methods

Method Description
__construct ( array $arg_options = [] ) : PantheonAliases Object constructor

Private Methods

Method Description
constructAlias ( Environment $environment ) : string Constructs a Drush alias for an environment. Used to supply organizational Drush aliases not provided by the API.
getAliases ( ) : string Requests API data and returns aliases
logIn ( array $options ) : void Logs you in to Pantheon
writeAliases ( string $location ) : boolean Retrieves and writes Pantheon aliases to a file

Method Details

__construct() public method

Object constructor
public __construct ( array $arg_options = [] ) : PantheonAliases
$arg_options array Elements as follow: string username Your Pantheon username string password Your Pantheon password string location Location for your aliases file
return PantheonAliases