Total Complexity | 6 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Coverage | 94.12% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class Seasons |
||
13 | { |
||
14 | public const RESOURCE = 'ReferenceData/Seasons'; |
||
15 | |||
16 | protected Client $client; |
||
17 | |||
18 | 2 | public function __construct(?Client $client = null) |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * @link https://www.tessituranetwork.com/REST_v151/TessituraService/HELP/API/GET_REFERENCEDATA_SEASONS_ID_FI.HTM |
||
29 | * @throws Exception |
||
30 | */ |
||
31 | 1 | public function getById(int $id): Season |
|
39 | } |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return Season[] |
||
44 | * @throws Exception |
||
45 | */ |
||
46 | 1 | public function get(): array |
|
60 |