Property | Type | Description | |
---|---|---|---|
$branches | |||
$environments | |||
$new_relic | |||
$org_memberships | |||
$redis | |||
$solr | |||
$user_memberships | |||
$workflows |
Property | Type | Description | |
---|---|---|---|
$upstream_data | stdClass | ||
$url | The URL at which to fetch this model's information |
Method | Description | |
---|---|---|
__construct ( $attributes = null, array $options = [] ) | ||
addPaymentMethod ( string $payment_method_id ) : |
Add a payment method to the given site | |
completeMigration ( ) : |
Completes a site migration in progress | |
converge ( ) : |
Converges all bindings on a site | |
dashboardUrl ( ) : string | Provides Pantheon Dashboard URL for this site | |
delete ( ) : |
Deletes the site represented by this object | |
deployProduct ( string $upstream_id ) : |
Creates a new site for migration | |
fetch ( array $options = [] ) : |
Fetches this object from Pantheon | |
getBranches ( ) : |
||
getEnvironments ( ) : |
||
getFeature ( string $feature ) : mixed | null | Returns a specific site feature value | |
getName ( ) : mixed | Get the human-readable name of the site | |
getNewRelic ( ) : |
||
getOrganizationMemberships ( ) : |
||
getOrganizations ( ) : |
Returns all organization members of this site | |
getRedis ( ) : |
||
getSolr ( ) : |
||
getUpstream ( ) : |
||
getUserMemberships ( ) : |
||
getWorkflows ( ) : |
||
removePaymentMethod ( ) : |
Remove this site's payment method | |
serialize ( ) : array | Formats the Site object into an associative array for output | |
setOwner ( |
Sets the site owner to the indicated team member | |
updateServiceLevel ( string $service_level ) : |
Update service level |
Method | Description | |
---|---|---|
parseAttributes ( object $data ) : object | Modify response data between fetch and assignment |
Method | Description | |
---|---|---|
setUpstream ( object $attributes ) | Ensures the proper creation of an Upstream object |
public __construct ( $attributes = null, array $options = [] ) | ||
$options | array |
public addPaymentMethod ( string $payment_method_id ) : |
||
$payment_method_id | string | UUID of new payment method |
return |
public completeMigration ( ) : |
||
return |
public converge ( ) : |
||
return |
public dashboardUrl ( ) : string | ||
return | string |
public delete ( ) : |
||
return |
public deployProduct ( string $upstream_id ) : |
||
$upstream_id | string | The UUID for the product to deploy. |
return |
public getBranches ( ) : |
||
return |
public getEnvironments ( ) : |
||
return |
public getOrganizationMemberships ( ) : |
||
return |
public getOrganizations ( ) : |
||
return |
public getUserMemberships ( ) : |
||
return |
public getWorkflows ( ) : |
||
return |
protected parseAttributes ( object $data ) : object | ||
$data | object | attributes received from API response |
return | object | $data |
public removePaymentMethod ( ) : |
||
return |
public setOwner ( |
||
$user_id | UUID of new owner of site | |
return |
public updateServiceLevel ( string $service_level ) : |
||
$service_level | string | Level to set service on site to |
return |
public Branches,Pantheon\Terminus\Collections $branches | ||
return |
public Environments,Pantheon\Terminus\Collections $environments | ||
return |
public SiteOrganizationMemberships,Pantheon\Terminus\Collections $org_memberships | ||
return |
public SiteUserMemberships,Pantheon\Terminus\Collections $user_memberships | ||
return |