PHP Class Pantheon\Terminus\Collections\Tags

Inheritance: extends TerminusCollection
Show file Open project: pantheon-systems/terminus

Public Properties

Property Type Description
$org_site_membership Pantheon\Terminus\Models\OrganizationSiteMembership

Protected Properties

Property Type Description
$collected_class string

Public Methods

Method Description
__construct ( $options = [] )
create ( string $tag ) : Tag Creates a tag for an organization-site relationship
fetch ( array $options = [] )

Method Details

__construct() public method

public __construct ( $options = [] )

create() public method

Creates a tag for an organization-site relationship
public create ( string $tag ) : Tag
$tag string Name of tag to create
return Pantheon\Terminus\Models\Tag $this->models[$tag] The newly created tag

fetch() public method

public fetch ( array $options = [] )
$options array

Property Details

$collected_class protected property

protected string $collected_class
return string

$org_site_membership public property

public OrganizationSiteMembership,Pantheon\Terminus\Models $org_site_membership
return Pantheon\Terminus\Models\OrganizationSiteMembership