Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
YoutubeEndpoints | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
register | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace Olz\Apps\Youtube; |
4 | |
5 | use Olz\Apps\BaseAppEndpoints; |
6 | use Olz\Apps\Youtube\Endpoints\GetAppYoutubeCredentialsEndpoint; |
7 | use PhpTypeScriptApi\Api; |
8 | |
9 | class YoutubeEndpoints extends BaseAppEndpoints { |
10 | public function register(Api $api): void { |
11 | $api->registerEndpoint('getAppYoutubeCredentials', function () { |
12 | return new GetAppYoutubeCredentialsEndpoint(); |
13 | }); |
14 | } |
15 | } |