PHP Class Pantheon\Terminus\Collections\SiteUserMemberships

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

Protected Properties

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

Méthodes publiques

Méthode Description
create ( string $email, string $role ) : Workflow Adds this user as a member to the site
get ( string $id ) : SiteUserMembership Retrieves the membership of the given UUID or email

Method Details

create() public méthode

Adds this user as a member to the site
public create ( string $email, string $role ) : Workflow
$email string Email of team member to add
$role string Role to assign to the new user
Résultat Workflow

get() public méthode

Retrieves the membership of the given UUID or email
public get ( string $id ) : SiteUserMembership
$id string UUID or email of desired user
Résultat SiteUserMembership

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