| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class PersonalFileRepository extends ResourceRepository implements ResourceRepositoryInterface |
||
| 14 | { |
||
| 15 | public function getResourceSettings(): ResourceSettings |
||
| 16 | { |
||
| 17 | $settings = parent::getResourceSettings(); |
||
| 18 | |||
| 19 | $settings |
||
| 20 | ->setAllowNodeFolderCreation(true) |
||
| 21 | //->setAllowResourceContentCreation(true) |
||
| 22 | ->setAllowResourceUploadCreation(true) |
||
| 23 | ; |
||
| 24 | |||
| 25 | return $settings; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function saveUpload(UploadedFile $file) |
||
| 34 | } |
||
| 35 | |||
| 36 | public function saveResource(FormInterface $form, $course, $session, $fileType) |
||
| 47 | } |
||
| 48 | |||
| 49 | public function getTitleColumn(Grid $grid): Column |
||
| 54 |