mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-04 23:44:33 +02:00
Moved attachment related services into their own namespaces
This commit is contained in:
parent
f5f581293a
commit
c955a3a221
16 changed files with 33 additions and 33 deletions
|
@ -33,8 +33,8 @@ namespace App\EntityListeners;
|
|||
|
||||
|
||||
use App\Entity\Attachments\Attachment;
|
||||
use App\Services\AttachmentHelper;
|
||||
use App\Services\AttachmentReverseSearch;
|
||||
use App\Services\Attachments\AttachmentManager;
|
||||
use App\Services\Attachments\AttachmentReverseSearch;
|
||||
use App\Services\Attachments\AttachmentPathResolver;
|
||||
use Doctrine\ORM\Event\LifecycleEventArgs;
|
||||
use Doctrine\ORM\Event\PreUpdateEventArgs;
|
||||
|
@ -52,7 +52,7 @@ class AttachmentDeleteListener
|
|||
protected $attachmentHelper;
|
||||
protected $pathResolver;
|
||||
|
||||
public function __construct(AttachmentReverseSearch $attachmentReverseSearch, AttachmentHelper $attachmentHelper, AttachmentPathResolver $pathResolver)
|
||||
public function __construct(AttachmentReverseSearch $attachmentReverseSearch, AttachmentManager $attachmentHelper, AttachmentPathResolver $pathResolver)
|
||||
{
|
||||
$this->attachmentReverseSearch = $attachmentReverseSearch;
|
||||
$this->attachmentHelper = $attachmentHelper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue