Свойство | Тип | Описание | |
---|---|---|---|
$branches | |||
$environments | |||
$new_relic | |||
$org_memberships | |||
$redis | |||
$solr | |||
$user_memberships | |||
$workflows |
Свойство | Тип | Описание | |
---|---|---|---|
$upstream_data | stdClass | ||
$url | The URL at which to fetch this model's information |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
parseAttributes ( object $data ) : object | Modify response data between fetch and assignment |
Метод | Описание | |
---|---|---|
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 |
Результат |
public completeMigration ( ) : |
||
Результат |
public converge ( ) : |
||
Результат |
public dashboardUrl ( ) : string | ||
Результат | string |
public delete ( ) : |
||
Результат |
public deployProduct ( string $upstream_id ) : |
||
$upstream_id | string | The UUID for the product to deploy. |
Результат |
public getBranches ( ) : |
||
Результат |
public getEnvironments ( ) : |
||
Результат |
public getOrganizationMemberships ( ) : |
||
Результат |
public getOrganizations ( ) : |
||
Результат |
public getUserMemberships ( ) : |
||
Результат |
public getWorkflows ( ) : |
||
Результат |
protected parseAttributes ( object $data ) : object | ||
$data | object | attributes received from API response |
Результат | object | $data |
public removePaymentMethod ( ) : |
||
Результат |
public setOwner ( |
||
$user_id | UUID of new owner of site | |
Результат |
public updateServiceLevel ( string $service_level ) : |
||
$service_level | string | Level to set service on site to |
Результат |
public Branches,Pantheon\Terminus\Collections $branches | ||
Результат |
public Environments,Pantheon\Terminus\Collections $environments | ||
Результат |
public NewRelic,Pantheon\Terminus\Models $new_relic | ||
Результат |
public SiteOrganizationMemberships,Pantheon\Terminus\Collections $org_memberships | ||
Результат |
public SiteUserMemberships,Pantheon\Terminus\Collections $user_memberships | ||
Результат |