| Total Complexity | 2 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class EventCollectionObjectRepresentation |
||
| 14 | { |
||
| 15 | private $page; |
||
| 16 | private $recordsPerPage; |
||
| 17 | private $totalPages; |
||
| 18 | private $totalCount; |
||
| 19 | private $currentLink; |
||
| 20 | private $prevLink; |
||
| 21 | private $nextLink; |
||
| 22 | private $lastLink; |
||
| 23 | private $events; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * EventsCollection constructor. |
||
| 27 | * |
||
| 28 | * @param $page |
||
| 29 | * @param $recordsPerPage |
||
| 30 | * @param $totalPages |
||
| 31 | * @param $totalCount |
||
| 32 | * @param $links |
||
| 33 | */ |
||
| 34 | public function __construct( |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param EventObjectRepresentation $event |
||
| 53 | */ |
||
| 54 | public function addEvent(EventObjectRepresentation $event) |
||
| 59 |