| Total Complexity | 2 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class FileDownload extends ApiAbstract |
||
| 16 | { |
||
| 17 | const ENTITY_SINGULAR = 'fileDownload'; |
||
| 18 | const ENTITY_PLURAL = 'fileDownloads'; |
||
| 19 | |||
| 20 | /** @var RepoService */ |
||
| 21 | protected $repoService; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * FileDownload constructor. |
||
| 25 | * |
||
| 26 | * @param LoggerInterface $logger |
||
| 27 | * @param RepoService $repoService |
||
| 28 | * @param FoundRows $foundRows |
||
| 29 | * @param EnvReader $envReader |
||
| 30 | */ |
||
| 31 | public function __construct( |
||
| 32 | LoggerInterface $logger, |
||
| 33 | RepoService $repoService, |
||
| 34 | FoundRows $foundRows, |
||
| 35 | EnvReader $envReader |
||
| 36 | ) { |
||
| 37 | parent::__construct($logger, $repoService, $foundRows, $envReader); |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
||
| 42 | * |
||
| 43 | * @param string $entityId |
||
| 44 | * |
||
| 45 | * @return Response |
||
| 46 | */ |
||
| 47 | public function update(string $entityId): Response |
||
| 53 | } |
||
| 54 | } |
||
| 55 |