Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Pantheon
Terminus
Models
Branch
serialize
Pantheon\Terminus\Models\Branch::serialize PHP Method
Branch Class Documentation
Show file
Open project: pantheon-systems/terminus
serialize()
public
method
Formats the Backup object into an associative array for output
public
serialize
( ) :
array
return
array
Associative array of data for output
public function serialize() { return ['id' => $this->id, 'sha' => $this->get('sha')]; }
Branch
__construct
delete
serialize