| @@ 45-55 (lines=11) @@ | ||
| 42 | * |
|
| 43 | * @return array |
|
| 44 | */ |
|
| 45 | protected function getResourceMethodConfiguration(): array |
|
| 46 | { |
|
| 47 | return [ |
|
| 48 | ResourceMethodEnum::GET_ALL_FOR_TASK => RequestPathFormatEnum::DEPENDENCIES_FOR_TASK, |
|
| 49 | ResourceMethodEnum::GET_BY_ID => RequestPathFormatEnum::DEPENDENCIES_BY_ID, |
|
| 50 | ResourceMethodEnum::GET_BY_IDS => RequestPathFormatEnum::DEPENDENCIES_BY_IDS, |
|
| 51 | ResourceMethodEnum::CREATE_FOR_TASK => RequestPathFormatEnum::DEPENDENCIES_FOR_TASK, |
|
| 52 | ResourceMethodEnum::UPDATE => RequestPathFormatEnum::DEPENDENCIES_BY_ID, |
|
| 53 | ResourceMethodEnum::DELETE => RequestPathFormatEnum::DEPENDENCIES_BY_ID, |
|
| 54 | ]; |
|
| 55 | } |
|
| 56 | } |
|
| 57 | ||
| @@ 49-61 (lines=13) @@ | ||
| 46 | * |
|
| 47 | * @return array |
|
| 48 | */ |
|
| 49 | protected function getResourceMethodConfiguration(): array |
|
| 50 | { |
|
| 51 | return [ |
|
| 52 | ResourceMethodEnum::GET_ALL => RequestPathFormatEnum::FOLDERS, |
|
| 53 | ResourceMethodEnum::GET_ALL_FOR_FOLDER => RequestPathFormatEnum::FOLDERS_FOR_FOLDER, |
|
| 54 | ResourceMethodEnum::GET_BY_ID => RequestPathFormatEnum::FOLDERS_BY_ID, |
|
| 55 | ResourceMethodEnum::GET_BY_IDS => RequestPathFormatEnum::FOLDERS_BY_IDS, |
|
| 56 | ResourceMethodEnum::CREATE_FOR_FOLDER => RequestPathFormatEnum::FOLDERS_FOR_FOLDER, |
|
| 57 | ResourceMethodEnum::COPY => RequestPathFormatEnum::FOLDERS_COPY, |
|
| 58 | ResourceMethodEnum::UPDATE => RequestPathFormatEnum::FOLDERS_BY_ID, |
|
| 59 | ResourceMethodEnum::DELETE => RequestPathFormatEnum::FOLDERS_BY_ID, |
|
| 60 | ]; |
|
| 61 | } |
|
| 62 | } |
|
| 63 | ||
| @@ 47-58 (lines=12) @@ | ||
| 44 | * |
|
| 45 | * @return array |
|
| 46 | */ |
|
| 47 | protected function getResourceMethodConfiguration(): array |
|
| 48 | { |
|
| 49 | return [ |
|
| 50 | ResourceMethodEnum::GET_ALL => RequestPathFormatEnum::TASKS, |
|
| 51 | ResourceMethodEnum::GET_ALL_FOR_FOLDER => RequestPathFormatEnum::TASKS_FOR_FOLDER, |
|
| 52 | ResourceMethodEnum::GET_BY_ID => RequestPathFormatEnum::TASKS_BY_ID, |
|
| 53 | ResourceMethodEnum::GET_BY_IDS => RequestPathFormatEnum::TASKS_BY_IDS, |
|
| 54 | ResourceMethodEnum::CREATE_FOR_FOLDER => RequestPathFormatEnum::TASKS_FOR_FOLDER, |
|
| 55 | ResourceMethodEnum::UPDATE => RequestPathFormatEnum::TASKS_BY_ID, |
|
| 56 | ResourceMethodEnum::DELETE => RequestPathFormatEnum::TASKS_BY_ID, |
|
| 57 | ]; |
|
| 58 | } |
|
| 59 | } |
|
| 60 | ||