PHP Class Pantheon\Terminus\Models\OrganizationSiteMembership

Inheritance: extends TerminusModel, implements League\Container\ContainerAwareInterface, use trait League\Container\ContainerAwareTrait
Show file Open project: pantheon-systems/terminus Class Usage Examples

Public Properties

Property Type Description
$organization Organization
$site Site
$tags Pantheon\Terminus\Collections\Tags

Protected Properties

Property Type Description
$site_data stdClass
$tags_data stdClass

Public Methods

Method Description
__construct ( $attributes = null, array $options = [] )
__toString ( )
delete ( ) : Workflow Removes a site from this organization
getOrganization ( ) : Organization
getSite ( ) : Site

Method Details

__construct() public method

public __construct ( $attributes = null, array $options = [] )
$options array

__toString() public method

public __toString ( )

delete() public method

Removes a site from this organization
public delete ( ) : Workflow
return Workflow

getOrganization() public method

public getOrganization ( ) : Organization
return Organization

getSite() public method

public getSite ( ) : Site
return Site

Property Details

$organization public property

public Organization,Pantheon\Terminus\Models $organization
return Organization

$site public property

public Site,Pantheon\Terminus\Models $site
return Site

$site_data protected property

protected stdClass $site_data
return stdClass

$tags public property

public Tags,Pantheon\Terminus\Collections $tags
return Pantheon\Terminus\Collections\Tags

$tags_data protected property

protected stdClass $tags_data
return stdClass