| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class DeleteShortUrlAction extends AbstractRestAction |
||
| 15 | { |
||
| 16 | protected const ROUTE_PATH = '/short-urls/{shortCode}'; |
||
| 17 | protected const ROUTE_ALLOWED_METHODS = [self::METHOD_DELETE]; |
||
| 18 | |||
| 19 | private DeleteShortUrlServiceInterface $deleteShortUrlService; |
||
| 20 | |||
| 21 | 2 | public function __construct(DeleteShortUrlServiceInterface $deleteShortUrlService) |
|
| 24 | 2 | } |
|
| 25 | |||
| 26 | 2 | public function handle(ServerRequestInterface $request): ResponseInterface |
|
| 33 |