| Total Complexity | 4 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class Data extends Record |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | protected $text; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | protected $date; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $text |
||
| 36 | * |
||
| 37 | * @return Data |
||
| 38 | */ |
||
| 39 | public function setText($text = '') |
||
| 40 | { |
||
| 41 | $this->text = $text; |
||
| 42 | |||
| 43 | return $this; |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function getText() |
||
| 50 | { |
||
| 51 | return $this->text; |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param string $date |
||
| 56 | * |
||
| 57 | * @return Data |
||
| 58 | */ |
||
| 59 | public function setDate($date = '') |
||
| 64 | } |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @return string |
||
| 68 | */ |
||
| 69 | public function getDate() |
||
| 74 |