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