You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, $this->get('') not existing on AbstractController on Symfony6, and I cannot use DependencyInjection with Oneup\UploaderBundle\Uploader\Orphanage\OrphanageManager
How can I call the manager with S6 ?
Thnaks
Q
A
Version
4.0
The text was updated successfully, but these errors were encountered:
When I'm trying to inject Oneup\UploaderBundle\Uploader\Orphanage\OrphanageManager , here what's i'm getting : Cannot autowire argument $manager of "App\Controller\MyController::myfunction()": it references class "Oneup\UploaderBundle\Uploader\Orphanage\OrphanageManager" but no such service exists. You should maybe alias this class to the existing "oneup_uploader.orphanage_manager" service.
Here my conf :
# Read the documentation: https://github.com/1up-lab/OneupUploaderBundle/blob/master/Resources/doc/index.mdoneup_uploader:
mappings:
# This is a mapping example, remove it and create your own mappings.gallery:
#use_orphanage: truefrontend: dropzone # or any uploader you use in the frontendstorage:
directory: "%kernel.project_dir%/public/uploads/gallery/"use_orphanage: truechunks:
maxage: 86400# 24hstorage:
directory: "%kernel.cache_dir%/uploader/chunks"orphanage:
maxage: 86400# 24hdirectory: "%kernel.cache_dir%/uploader/orphanage"
Question
Hello, following the controller part from orphanage doc, i'm trying to acces to the OrphanageManager :
$manager = $this->get('oneup_uploader.orphanage_manager')->get('gallery');
However,
$this->get('')
not existing on AbstractController on Symfony6, and I cannot use DependencyInjection withOneup\UploaderBundle\Uploader\Orphanage\OrphanageManager
How can I call the manager with S6 ?
Thnaks
The text was updated successfully, but these errors were encountered: