Property | Type | Description | |
---|---|---|---|
$organization |
Property | Type | Description | |
---|---|---|---|
$collected_class | string | ||
$paged | boolean |
Method | Description | |
---|---|---|
__construct ( array $options = [] ) : |
Instantiates the collection | |
create ( Site $site ) : Workflow | Adds a site to this organization | |
get ( string $id ) : OrganizationSiteMembership | Retrieves the model with site of the given UUID or name | |
getOrganization ( ) : |
||
getSite ( string $site_id ) : Site | Retrieves the matching site from model members | |
siteIsMember ( Site $site ) : boolean | Determines whether a site is a member of this collection |
public __construct ( array $options = [] ) : |
||
$options | array | To be set |
return |
public create ( Site $site ) : Workflow | ||
$site | Site | Site object of site to add to this organization |
return | Workflow |
public getOrganization ( ) : |
||
return |
public siteIsMember ( Site $site ) : boolean | ||
$site | Site | Site to determine membership of |
return | boolean |
public Organization,Pantheon\Terminus\Models $organization | ||
return |