1 | <?php |
||
23 | trait GetPublicationCategoryTrait |
||
24 | { |
||
25 | /** |
||
26 | * @return null|Storage\Filesystem\FilesystemCategoryStorage |
||
27 | */ |
||
28 | abstract protected function getFilesystemCategoryStorage() : ? Storage\Filesystem\FilesystemCategoryStorage; |
||
29 | |||
30 | /** |
||
31 | * @return null|Storage\Filesystem\FilesystemDirectoryStorage |
||
32 | */ |
||
33 | abstract protected function getFilesystemDirectoryStorage() : ? Storage\Filesystem\FilesystemDirectoryStorage; |
||
34 | |||
35 | /** |
||
36 | * Gets the category for a filesystem record. |
||
37 | * |
||
38 | * @param int $applicationId |
||
39 | * @param int $categoryId |
||
40 | * @return array |
||
41 | */ |
||
42 | protected function getPublicationCategory(int $applicationId, int $categoryId) : array |
||
59 | } |
||
60 |