Questions tagged [symfony5.4]

84 questions
-1
votes
1 answer

Symfony 5.4 with Kafka

I have a symfony 5.4 project and I want to implement kafka with the symfony messenger component. I've seen several ways to do this, including this post: Symfony Messenger with Apache Kafka as queue transport which implements 4 bundles (all…
-1
votes
1 answer

how to set DOCTRINE MAKE:ENTITY to use ANNOTATIONS in SYMFONY 5.4?

I am new to symfony, and I am trying to make MySQL entities using the command : symfony console make:entity But it generates automatically using the ATTRIBUTES, how can I switch that to using ANNOTATIONS ? I tried using the following command, but…
-1
votes
1 answer

PHP Fatal error: Uncaught Error: Call to undefined method Doctrine\ORM\Configuration::setSchemaIgnoreClasses()

PHP Fatal error: Uncaught Error: Call to undefined method Doctrine\ORM\Configuration::setSchemaIgnoreClasses() in /var/cache/prod/ContainerEFlduTO/getDoctrine_Orm_DefaultEntityManagerService.php:65 I get this error on composer require command. If…
-1
votes
1 answer

custom path to get all the subressource of an entity

I'm new with Api-platform 2.6 and i kind of succeeded to do what i attempted but i don't know if it's the "right" or easiest way to do it. Here's what i'm trying to do: i got an esirius_site entity that that have a collection of visitors. The…
Floxblah
  • 152
  • 9
-2
votes
1 answer

Title: Twig template error - Missing closing tag for loop

#[Route('/instructeur/lessen')] class LessenController extends AbstractController { #[Route('/', name: 'app_lessen_index', methods: ['GET'])] public function index(LessenRepository $lessenRepository){ $vandaag = new \DateTime() ; …
-2
votes
1 answer

Symfony 5 Resolving environment variables inside another one

Is their any possible way of referencing an environment variable into another one. Here is the problem I'm trying to solve. I have two deployment server for testing purpose both have different databases, I want to switch the DATABASE_URL secret…
Moeen Basra
  • 733
  • 4
  • 18
-2
votes
1 answer

Symfony: How to convert binary file response to Uploded File Object

I'm getting binary response from third party API via HTTP CLIENT in Symfony How to convert that response to a UplodedFile Object. Please suggest a good way to do this.
Ravi Damasiya
  • 484
  • 2
  • 13
1 2 3 4 5
6