| 1 | <?php |
||
| 8 | class Project |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var int |
||
| 12 | */ |
||
| 13 | protected $id; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $title; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $description; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $link; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | private $repository; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | private $slug; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var \DateTime $created |
||
| 42 | */ |
||
| 43 | private $created; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @var \DateTime $updated |
||
| 47 | */ |
||
| 48 | private $updated; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Get id |
||
| 52 | * |
||
| 53 | * @return integer |
||
| 54 | */ |
||
| 55 | public function getId() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Set title |
||
| 62 | * |
||
| 63 | * @param string $title |
||
| 64 | * @return Project |
||
| 65 | */ |
||
| 66 | public function setTitle($title) |
||
| 72 | |||
| 73 | /** |
||
| 74 | * Get title |
||
| 75 | * |
||
| 76 | * @return string |
||
| 77 | */ |
||
| 78 | public function getTitle() |
||
| 82 | |||
| 83 | /** |
||
| 84 | * Set description |
||
| 85 | * |
||
| 86 | * @param string $description |
||
| 87 | * @return Project |
||
| 88 | */ |
||
| 89 | public function setDescription($description) |
||
| 95 | |||
| 96 | /** |
||
| 97 | * Get description |
||
| 98 | * |
||
| 99 | * @return string |
||
| 100 | */ |
||
| 101 | public function getDescription() |
||
| 105 | |||
| 106 | /** |
||
| 107 | * Set link |
||
| 108 | * |
||
| 109 | * @param string $link |
||
| 110 | * @return Project |
||
| 111 | */ |
||
| 112 | public function setLink($link) |
||
| 118 | |||
| 119 | /** |
||
| 120 | * Get link |
||
| 121 | * |
||
| 122 | * @return string |
||
| 123 | */ |
||
| 124 | public function getLink() |
||
| 128 | |||
| 129 | /** |
||
| 130 | * Set repository |
||
| 131 | * |
||
| 132 | * @param string $repository |
||
| 133 | * @return Project |
||
| 134 | */ |
||
| 135 | public function setRepository($repository) |
||
| 141 | |||
| 142 | /** |
||
| 143 | * Get repository |
||
| 144 | * |
||
| 145 | * @return string |
||
| 146 | */ |
||
| 147 | public function getRepository() |
||
| 151 | |||
| 152 | /** |
||
| 153 | * Set slug |
||
| 154 | * |
||
| 155 | * @param string $slug |
||
| 156 | * @return Project |
||
| 157 | */ |
||
| 158 | public function setSlug($slug) |
||
| 164 | |||
| 165 | /** |
||
| 166 | * Get slug |
||
| 167 | * |
||
| 168 | * @return string |
||
| 169 | */ |
||
| 170 | public function getSlug() |
||
| 174 | |||
| 175 | public function getCreated() |
||
| 179 | |||
| 180 | public function getUpdated() |
||
| 184 | } |
||
| 185 |