python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Get base url on symfony 3.4 command
I'm trying to get the base url on a command to get localhost on local and the production url on producction but all the exmaples I found are using the reuqest object but I
don't have it on a command:
...
a_fr159
Votes: 0
Answers: 1
Pluralization on symfomy command
I've created a commmando which needs pluralization to send some emails
//without pluralization works fine
//$body = $this->translator->trans('expiration.password.reminder.body', $email_params, ...
a_fr159
Votes: 0
Answers: 1
Symfony returning HTTP 304 locally, but HTTP 200 for matching ETag in production
Due to a heavy API call taking upwards of 20 seconds, I have enabled computation of ETag for that resource and pre-compute the ETag before doing any heavy DB work to be able to return early. This work...
oligofren
Votes: 0
Answers: 1
How to update a form with an EntityType using 'data' option
I have a form to insert and update users, and a country field which is an entityType similar to this (code in the FormType):
$builder
->add('countries', EntityType::class, [
'label'...
user3174311
Votes: 0
Answers: 1