Метод | Описание | |
---|---|---|
__construct ( array $arg_options = [] ) : PantheonAliases | Object constructor |
Метод | Описание | |
---|---|---|
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 |
Результат | PantheonAliases |