| 1 | <?php |
||
| 5 | class Psr |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $title; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $readTime; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var \DateTime |
||
| 19 | */ |
||
| 20 | private $updated; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | private $description; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | private $content; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | private $slug; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @var Psr |
||
| 39 | */ |
||
| 40 | private $meta; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @var Psr |
||
| 44 | */ |
||
| 45 | private $examples; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Set title |
||
| 49 | * |
||
| 50 | * @param string $title |
||
| 51 | * @return Psr |
||
| 52 | */ |
||
| 53 | public function setTitle($title) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Get title |
||
| 62 | * |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | public function getTitle() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * Set description |
||
| 72 | * |
||
| 73 | * @param string $description |
||
| 74 | * @return Psr |
||
| 75 | */ |
||
| 76 | public function setDescription($description) |
||
| 82 | |||
| 83 | /** |
||
| 84 | * Get description |
||
| 85 | * |
||
| 86 | * @return string |
||
| 87 | */ |
||
| 88 | public function getDescription() |
||
| 92 | |||
| 93 | /** |
||
| 94 | * Set read time |
||
| 95 | * |
||
| 96 | * @param string $readTime |
||
| 97 | * @return Psr |
||
| 98 | */ |
||
| 99 | public function setReadTime($readTime) |
||
| 105 | |||
| 106 | /** |
||
| 107 | * Get read time |
||
| 108 | * |
||
| 109 | * @return string |
||
| 110 | */ |
||
| 111 | public function getReadTime() |
||
| 115 | |||
| 116 | /** |
||
| 117 | * Set updated time |
||
| 118 | * |
||
| 119 | * @param \DateTime $updated |
||
| 120 | * @return Psr |
||
| 121 | */ |
||
| 122 | public function setUpdated($updated) |
||
| 128 | |||
| 129 | /** |
||
| 130 | * Get updated time |
||
| 131 | * |
||
| 132 | * @return \DateTime |
||
| 133 | */ |
||
| 134 | public function getUpdated() |
||
| 138 | |||
| 139 | /** |
||
| 140 | * Set content |
||
| 141 | * |
||
| 142 | * @param string $content |
||
| 143 | * @return Psr |
||
| 144 | */ |
||
| 145 | public function setContent($content) |
||
| 151 | |||
| 152 | /** |
||
| 153 | * Get content |
||
| 154 | * |
||
| 155 | * @return string |
||
| 156 | */ |
||
| 157 | public function getContent() |
||
| 161 | |||
| 162 | /** |
||
| 163 | * Set slug |
||
| 164 | * |
||
| 165 | * @param string $slug |
||
| 166 | * @return Psr |
||
| 167 | */ |
||
| 168 | public function setSlug($slug) |
||
| 174 | |||
| 175 | /** |
||
| 176 | * Get slug |
||
| 177 | * |
||
| 178 | * @return string |
||
| 179 | */ |
||
| 180 | public function getSlug() |
||
| 184 | |||
| 185 | /** |
||
| 186 | * Set meta document |
||
| 187 | * |
||
| 188 | * @param Psr $meta |
||
| 189 | * @return Psr |
||
| 190 | */ |
||
| 191 | public function setMeta($meta) |
||
| 197 | |||
| 198 | /** |
||
| 199 | * Get meta document |
||
| 200 | * |
||
| 201 | * @return Psr |
||
| 202 | */ |
||
| 203 | public function getMeta() |
||
| 207 | |||
| 208 | /** |
||
| 209 | * Set examples document |
||
| 210 | * |
||
| 211 | * @param Psr $examples |
||
| 212 | * @return Psr |
||
| 213 | */ |
||
| 214 | public function setExamples($examples) |
||
| 220 | |||
| 221 | /** |
||
| 222 | * Get examples document |
||
| 223 | * |
||
| 224 | * @return Psr |
||
| 225 | */ |
||
| 226 | public function getExamples() |
||
| 230 | } |
||
| 231 |