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