This commit is contained in:
2026-01-15 21:03:17 +01:00
parent acbd917c3f
commit 9e1ce29803
3 changed files with 43 additions and 44 deletions

View File

@@ -37,17 +37,16 @@ services:
app.minio_client:
class: Aws\S3\S3Client
arguments:
-
version: 'latest'
region: '%env(MINIO_REGION)%'
endpoint: '%env(MINIO_ENDPOINT)%'
- version: "latest"
region: "%env(MINIO_REGION)%"
endpoint: "%env(MINIO_ENDPOINT)%"
use_path_style_endpoint: true
credentials:
key: '%env(MINIO_KEY)%'
secret: '%env(MINIO_SECRET)%'
App\Form\Type\CKEditor5Type:
key: "%env(MINIO_KEY)%"
secret: "%env(MINIO_SECRET)%"
App\Form\CKEditor5Type:
arguments:
$stimulusHelper: '@stimulus.helper'
tags: [ 'form.type' ]
$stimulusHelper: "@stimulus.helper"
tags: ["form.type"]
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones

View File

@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace App\Form\Type;
namespace App\Form;
use Symfony\Component\DependencyInjection\Attribute\Autowire;
use Symfony\Component\Form\AbstractType;

View File

@@ -3,7 +3,7 @@
namespace App\Form;
use App\Entity\News;
use App\Form\Type\CKEditor5Type;
use App\Form\CKEditor5Type;
use Dom\Text;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Form\AbstractType;