PHP 클래스 PantheonAliases, terminus

파일 보기 프로젝트 열기: pantheon-systems/terminus

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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
리턴 PantheonAliases