| Total Complexity | 5 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class RegistryImportFeedEntry extends ViewableData |
||
| 8 | { |
||
| 9 | protected $title; |
||
| 10 | protected $description; |
||
| 11 | protected $date; |
||
| 12 | protected $link; |
||
| 13 | |||
| 14 | private static $casting = [ |
||
|
|
|||
| 15 | 'Date' => 'DBDatetime', |
||
| 16 | ]; |
||
| 17 | |||
| 18 | public function __construct($title, $description, $date, $link) |
||
| 19 | { |
||
| 20 | $this->title = $title; |
||
| 21 | $this->description = $description; |
||
| 22 | $this->date = $date; |
||
| 23 | $this->link = $link; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function Link() |
||
| 29 | } |
||
| 30 | |||
| 31 | public function Description() |
||
| 32 | { |
||
| 33 | return $this->description; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function Title() |
||
| 39 | } |
||
| 40 | |||
| 41 | public function Date() |
||
| 44 | } |
||
| 45 | } |
||
| 46 |