PHP Class Pantheon\Terminus\Collections\EnvironmentOwnedCollection

Inheritance: extends TerminusCollection
显示文件 Open project: pantheon-systems/terminus Class Usage Examples

Public Properties

Property Type Description
$environment Pantheon\Terminus\Models\Environment

Public Methods

Method Description
__construct ( array $options = [] ) Object constructor
getEnvironment ( ) : Environment
getUrl ( )
setEnvironment ( Environment $environment )

Protected Methods

Method Description
replaceUrlTokens ( $url ) : string

Method Details

__construct() public method

Object constructor
public __construct ( array $options = [] )
$options array Options to set as $this->key

getEnvironment() public method

public getEnvironment ( ) : Environment
return Pantheon\Terminus\Models\Environment

getUrl() public method

public getUrl ( )

replaceUrlTokens() protected method

protected replaceUrlTokens ( $url ) : string
$url
return string

setEnvironment() public method

public setEnvironment ( Environment $environment )
$environment Pantheon\Terminus\Models\Environment

Property Details

$environment public_oe property

public Environment,Pantheon\Terminus\Models $environment
return Pantheon\Terminus\Models\Environment