mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 11:24:31 +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
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
namespace App\Services;
|
||||
namespace App\Services\Attachments;
|
||||
|
||||
|
||||
use App\Entity\Attachments\Attachment;
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
namespace App\Services;
|
||||
namespace App\Services\Attachments;
|
||||
|
||||
use App\Entity\Attachments\Attachment;
|
||||
use App\Services\Attachments\AttachmentPathResolver;
|
||||
|
|
|
@ -47,7 +47,7 @@ use App\Entity\Attachments\StorelocationAttachment;
|
|||
use App\Entity\Attachments\SupplierAttachment;
|
||||
use App\Entity\Attachments\UserAttachment;
|
||||
use App\Exceptions\AttachmentDownloadException;
|
||||
use App\Services\AttachmentHelper;
|
||||
use App\Services\Attachments\AttachmentManager;
|
||||
use Doctrine\Common\Annotations\IndexedReader;
|
||||
use Nyholm\Psr7\Request;
|
||||
use Symfony\Component\Filesystem\Filesystem;
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace App\Services\Attachments;
|
|||
|
||||
|
||||
use App\Entity\Attachments\Attachment;
|
||||
use App\Services\AttachmentHelper;
|
||||
use App\Services\Attachments\AttachmentManager;
|
||||
use Liip\ImagineBundle\Service\FilterService;
|
||||
use Symfony\Component\Asset\Package;
|
||||
use Symfony\Component\Asset\Packages;
|
||||
|
@ -49,7 +49,7 @@ class AttachmentURLGenerator
|
|||
protected $filterService;
|
||||
|
||||
public function __construct(Packages $assets, AttachmentPathResolver $pathResolver,
|
||||
UrlGeneratorInterface $urlGenerator, AttachmentHelper $attachmentHelper,
|
||||
UrlGeneratorInterface $urlGenerator, AttachmentManager $attachmentHelper,
|
||||
FilterService $filterService)
|
||||
{
|
||||
$this->assets = $assets;
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
namespace App\Services;
|
||||
namespace App\Services\Attachments;
|
||||
|
||||
use App\Entity\Attachments\Attachment;
|
||||
use App\Services\Attachments\AttachmentPathResolver;
|
||||
|
|
|
@ -34,7 +34,7 @@ namespace App\Services\Attachments;
|
|||
|
||||
use App\Entity\Attachments\Attachment;
|
||||
use App\Entity\Parts\Part;
|
||||
use App\Services\AttachmentHelper;
|
||||
use App\Services\Attachments\AttachmentManager;
|
||||
|
||||
/**
|
||||
* @package App\Services\Attachments
|
||||
|
@ -43,7 +43,7 @@ class PartPreviewGenerator
|
|||
{
|
||||
protected $attachmentHelper;
|
||||
|
||||
public function __construct(AttachmentHelper $attachmentHelper)
|
||||
public function __construct(AttachmentManager $attachmentHelper)
|
||||
{
|
||||
$this->attachmentHelper = $attachmentHelper;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue