Exemple #1
0
 private function makeTailFromStructure(\DialoGit\GitStructure $structure)
 {
     $tail = '';
     $columns = $structure->toArray();
     foreach ($columns as $column) {
         $tail .= ' ' . $column;
     }
     return $tail;
 }
Exemple #2
0
 public function toArray()
 {
     $array = parent::toArray();
     $array['Branch'] = $this->getBranch();
     $array['Message'] = $this->getMessage();
     return $array;
 }
Exemple #3
0
 public function toArray()
 {
     $array = parent::toArray();
     $array['URL'] = $this->getUrl();
     return $array;
 }