| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class Presenters extends AbstractEndpoint implements HasRestFullRead |
||
| 7 | { |
||
| 8 | use WithRestFullRead; |
||
| 9 | |||
| 10 | protected int $eventId; |
||
| 11 | |||
| 12 | 2 | public function __construct(Auth $auth, int $eventId) |
|
| 17 | } |
||
| 18 | |||
| 19 | 1 | public function baseUrl(): string |
|
| 20 | { |
||
| 21 | 1 | return "events/{$this->eventId}/" . $this->key(); |
|
| 22 | } |
||
| 23 | |||
| 24 | 1 | public function key(): string |
|
| 27 | } |
||
| 28 | } |
||
| 29 |