Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 3 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
| Panini2024Endpoints | |
0.00% |
0 / 3 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| register | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace Olz\Apps\Panini2024; |
| 4 | |
| 5 | use Olz\Apps\BaseAppEndpoints; |
| 6 | use Olz\Apps\Panini2024\Endpoints\ListPanini2024PicturesEndpoint; |
| 7 | use Olz\Apps\Panini2024\Endpoints\UpdateMyPanini2024Endpoint; |
| 8 | use PhpTypeScriptApi\Api; |
| 9 | |
| 10 | class Panini2024Endpoints extends BaseAppEndpoints { |
| 11 | public function __construct( |
| 12 | protected ListPanini2024PicturesEndpoint $listPanini2024PicturesEndpoint, |
| 13 | protected UpdateMyPanini2024Endpoint $updateMyPanini2024Endpoint, |
| 14 | ) { |
| 15 | } |
| 16 | |
| 17 | public function register(Api $api): void { |
| 18 | $api->registerEndpoint('listPanini2024Pictures', $this->listPanini2024PicturesEndpoint); |
| 19 | $api->registerEndpoint('updateMyPanini2024', $this->updateMyPanini2024Endpoint); |
| 20 | } |
| 21 | } |