PHP Class Pantheon\Terminus\Collections\SiteOrganizationMemberships

Inheritance: extends SiteOwnedCollection
Afficher le fichier Open project: pantheon-systems/terminus

Protected Properties

Свойство Type Description
$collected_class string
$paged boolean
$url string

Méthodes publiques

Méthode Description
create ( string $name, string $role ) : Workflow Adds this org as a member to the site
findByName ( string $name ) : SiteOrganizationMembership | null Returns UUID of organization with given name
get ( string $id ) : OrganizationSiteMembership Retrieves the model with organization of the given UUID or name
getUUID ( string $name ) : SiteOrganizationMembership | null Returns UUID of organization with given name

Method Details

create() public méthode

Adds this org as a member to the site
public create ( string $name, string $role ) : Workflow
$name string Name of site to add org to
$role string Role for supporting organization to take
Résultat Pantheon\Terminus\Models\Workflow

findByName() public méthode

Returns UUID of organization with given name
public findByName ( string $name ) : SiteOrganizationMembership | null
$name string A name to search for
Résultat Pantheon\Terminus\Models\SiteOrganizationMembership | null

get() public méthode

Retrieves the model with organization of the given UUID or name
public get ( string $id ) : OrganizationSiteMembership
$id string UUID or name of desired site membership instance
Résultat Pantheon\Terminus\Models\OrganizationSiteMembership

getUUID() public méthode

Returns UUID of organization with given name
public getUUID ( string $name ) : SiteOrganizationMembership | null
$name string A name to search for
Résultat Pantheon\Terminus\Models\SiteOrganizationMembership | null

Property Details

$collected_class protected_oe property

protected string $collected_class
Résultat string

$paged protected_oe property

protected bool $paged
Résultat boolean

$url protected_oe property

protected string $url
Résultat string