PHP Class Pantheon\Terminus\Models\Branch

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

Public Properties

Property Type Description
$site Site

Public Methods

Method Description
__construct ( $attributes = null, array $options = [] )
delete ( ) : Workflow Deletes this branch from the site
serialize ( ) : array Formats the Backup object into an associative array for output

Method Details

__construct() public method

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

delete() public method

Deletes this branch from the site
public delete ( ) : Workflow
return Workflow

serialize() public method

Formats the Backup object into an associative array for output
public serialize ( ) : array
return array Associative array of data for output

Property Details

$site public property

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