symfony5 Questions

1

I'm developing a Symfony 5.1 project under DDD, so I'm changing a bit all the default folders. I have 2 bundles inside src folder and at the moment I only have entities inside one of them. I genera...
Kukri asked 11/8, 2020 at 22:41

1

Solved

I am building my own Bundle for Symfony 5 following this documentation: https://symfony.com/doc/current/bundles/best_practices.html There it says: A bundle should also not embed third-party librar...
Eldwun asked 9/8, 2020 at 13:27

1

Solved

I want to use the security.interactive_login event to update my User's last login field. The event is successfully registered: php bin/console debug:event-dispatcher security.interactive_login Reg...

1

Apologies but something weird has happened to me today with Symfony. I am developing a webapp with a friend and decided to run a composer update this morning. Everything was working correctly befor...
Warrick asked 24/7, 2020 at 11:43

2

Solved

I'm trying to upload files with Api Platform and Vich Uploader Bundle. When I send POST request with multipart/form-data and Id of the entity to attach image file to, I get 200 response with my ent...
Assumptive asked 15/7, 2020 at 15:48

1

Solved

In Symfony4 I was using the following configuration for doctrine apcu caching: doctrine: orm: auto_mapping: true auto_generate_proxy_classes: false metadata_cache_driver: apcu query_cache_dri...
Derange asked 26/3, 2020 at 7:10

1

Solved

I have the following entity (only attached the relevant parts): use ApiPlatform\Core\Annotation\ApiResource; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert;...
Heerlen asked 14/2, 2020 at 13:52

1

Solved

Symfony version(s) affected: 4.4.0 Description After upgrading to Symfony 4.4.0 I got the following deprecation warning: Calling "Symfony\Bundle\FrameworkBundle\Test\WebTestCase::createClient()" w...
Sexy asked 9/1, 2020 at 22:15

© 2022 - 2024 — McMap. All rights reserved.