Method | Description | |
---|---|---|
__construct ( array $arg_options = [] ) : PantheonAliases | Object constructor |
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 |
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 |