Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
GitCommit.php
Go to the documentation of this file.
1<?php
2
4
5class GitCommit {
6 private $cHash;
7 private $lHash;
8 private $author;
9 private $cDate;
10 private $summary;
11 private $pushed;
12
13 public function __construct($cHash="",$author="",$cDate="",$summary="",$lHash="",$pushed=true){
14 $this->cHash=$cHash;
15 $this->lHash=$lHash;
16 $this->author=$author;
17 $this->cDate=$cDate;
18 $this->summary=$summary;
19 $this->pushed=$pushed;
20 }
24 public function getLHash() {
25 return $this->lHash;
26 }
27
31 public function getCHash() {
32 return $this->cHash;
33 }
34
38 public function getAuthor() {
39 return $this->author;
40 }
41
45 public function getCDate() {
46 return $this->cDate;
47 }
48
52 public function getSummary() {
53 return $this->summary;
54 }
55
59 public function setCHash($cHash) {
60 $this->cHash = $cHash;
61 }
62
66 public function setAuthor($author) {
67 $this->author = $author;
68 }
69
73 public function setCDate($cDate) {
74 $this->cDate = $cDate;
75 }
76
80 public function setSummary($summary) {
81 $this->summary = $summary;
82 }
86 public function getPushed() {
87 return $this->pushed;
88 }
89
93 public function setPushed($pushed) {
94 $this->pushed = $pushed;
95 }
96
97
98}
99
__construct($cHash="", $author="", $cDate="", $summary="", $lHash="", $pushed=true)
Definition GitCommit.php:13