| Total Complexity | 2 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class File extends ApiAbstract |
||
| 14 | { |
||
| 15 | const FILENAMESYSTEM_NAME_LENGTH = 6; |
||
| 16 | |||
| 17 | const ENTITY_SINGULAR = 'file'; |
||
| 18 | const ENTITY_PLURAL = 'files'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var Filesystem |
||
| 22 | */ |
||
| 23 | protected $filesystem; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * File constructor. |
||
| 27 | * |
||
| 28 | * @param LoggerInterface $logger |
||
| 29 | * @param RepoService $repoService |
||
| 30 | * @param FoundRows $foundRows |
||
| 31 | * @param Filesystem $filesystem |
||
| 32 | */ |
||
| 33 | public function __construct( |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return array |
||
| 46 | */ |
||
| 47 | public function getSharedData(): array |
||
| 62 |