Add Twig AsyncUploadExtension and its associated test

Created AsyncUploadExtension under Chill\DocStoreBundle\AsyncUpload\Templating to provide Twig filter functions for generating URLs for asynchronous file uploads. To ensure correctness, AsyncUploadExtensionTest was implemented in Bundle\ChillDocStoreBundle\Tests\AsyncUpload\Templating. Service definitions were also updated in services.yaml.
This commit is contained in:
2023-12-11 16:53:38 +01:00
parent 4fd5a37df3
commit 1195767eb3
3 changed files with 149 additions and 2 deletions

View File

@@ -55,9 +55,10 @@ services:
resource: '../GenericDoc/Renderer/'
Chill\DocStoreBundle\AsyncUpload\Driver\:
autowire: true
autoconfigure: true
resource: '../AsyncUpload/Driver/'
Chill\DocStoreBundle\AsyncUpload\Templating\:
resource: '../AsyncUpload/Templating/'
Chill\DocStoreBundle\AsyncUpload\TempUrlGeneratorInterface:
alias: Chill\DocStoreBundle\AsyncUpload\Driver\OpenstackObjectStore\TempUrlOpenstackGenerator