Property | Type | Description | |
---|---|---|---|
$aliases | stdClass | ||
$machine_tokens | |||
$org_memberships | |||
$payment_methods | |||
$site_memberships | |||
$ssh_keys | |||
$workflows |
Method | Description | |
---|---|---|
__construct ( object $attributes = null, array $options = [] ) | Object constructor | |
dashboardUrl ( ) : string | Provides Pantheon Dashboard URL for this user | |
getAliases ( ) : string | Retrieves Drush aliases for this user | |
getMachineTokens ( ) : Terminus\Collections\PaymentMethods | ||
getName ( ) : string | Get the user's full name. | |
getOrgMemberships ( ) : Terminus\Collections\UserOrganizationMemberships | ||
getOrganizations ( ) : |
Retrieves organization data for this user | |
getPaymentMethods ( ) : |
||
getProfile ( ) : object | ||
getSSHKeys ( ) : Terminus\Collections\SSHKeys | ||
getSiteMemberships ( ) : Terminus\Collections\UserSiteMemberships | ||
getSites ( ) : |
Requests API data and returns an object of user site data | |
getUpstreams ( ) : |
||
getWorkflows ( ) : |
||
serialize ( ) : array | Formats User object into an associative array for output |
Method | Description | |
---|---|---|
fetchAliases ( ) | Requests API data and populates $this->aliases |
public __construct ( object $attributes = null, array $options = [] ) | ||
$attributes | object | Attributes of this model |
$options | array | Options with which to configure this model |
public dashboardUrl ( ) : string | ||
return | string |
public getAliases ( ) : string | ||
return | string |
public getMachineTokens ( ) : Terminus\Collections\PaymentMethods | ||
return | Terminus\Collections\PaymentMethods |
public getOrgMemberships ( ) : Terminus\Collections\UserOrganizationMemberships | ||
return | Terminus\Collections\UserOrganizationMemberships |
public getOrganizations ( ) : |
||
return |
public getPaymentMethods ( ) : |
||
return |
public getSSHKeys ( ) : Terminus\Collections\SSHKeys | ||
return | Terminus\Collections\SSHKeys |
public getSiteMemberships ( ) : Terminus\Collections\UserSiteMemberships | ||
return | Terminus\Collections\UserSiteMemberships |
public getSites ( ) : |
||
return |
public getUpstreams ( ) : |
||
return |
public getWorkflows ( ) : |
||
return |
protected PaymentMethods,Pantheon\Terminus\Collections $machine_tokens | ||
return |
protected UserOrganizationMemberships,Pantheon\Terminus\Collections $org_memberships | ||
return |
protected PaymentMethods,Pantheon\Terminus\Collections $payment_methods | ||
return |
protected UserSiteMemberships,Pantheon\Terminus\Collections $site_memberships | ||
return |
protected SSHKeys,Pantheon\Terminus\Collections $ssh_keys | ||
return |