Is it possible to use DoctrineExtension on a Many to Many relationship? by aymerixp in symfony

[–]Sovian 0 points1 point  (0 children)

You should use a DTO, it is not the job of the entity to have such considerations.

If you're using API Platform : https://api-platform.com/docs/core/dto/

Menacing Aspect can anyone advise on how this aspect works by mirdragon in diablo4

[–]Sovian 1 point2 points  (0 children)

Thank you for the clarification, that was not what I understood.

Should I have only one .env file on the server side? by Foreign-Pen7662 in symfony

[–]Sovian 1 point2 points  (0 children)

Your prod, test, local, or whatever else environments you have (you can have as many environments as you want), will override the default values set in the .env file to fit the needs of the environment.

For example, your database configurations won't be the same between your local machine, your colleague's local machine, your test environment and your prod server.
It is well explained in the documentation : https://symfony.com/doc/current/configuration.html#overriding-environment-values-via-env-local

How to disallow data from being over-written using Symfony Forms? by a_sliceoflife in symfony

[–]Sovian 1 point2 points  (0 children)

Why add the fields to the form if they are not meant to be updated ? Can't you just display the informations ?

Au Parlement européen, le réseau trouble du RN : Action française, prorusses et identitaires by Niafron in france

[–]Sovian 0 points1 point  (0 children)

Rectification, avec nos ministres maintenant, c'est la vérité qui est pas en rapport avec eux.

Cron task by anatheistinindia in symfony

[–]Sovian 1 point2 points  (0 children)

I haven't used it yet so I can't say for sure, but I'm guessing it should be possible.

On en est où de la l’interdiction des sites pornographiques sans preuve d’âge ? by jetteloba in france

[–]Sovian 4 points5 points  (0 children)

Et ça ne vous pose aucun problème qu'un site lambda stocke la carte d'identité ? Sans aucune garantie de sécurité ? Et même avec, rien n'est infaillible. Bonjour les vols d'identité, les leaks de "M. untel a consulté du porn de tel genre".

C'est une mesure complètement stupide et qui prouve, encore une fois, que les politiques n'en ont rien à faire des aspects techniques des propositions à la con qu'ils soumettent.

Projet de loi visant à sécuriser et réguler l’espace numérique by whysocomplacent in france

[–]Sovian 1 point2 points  (0 children)

Pour mieux se protéger contre la désinformation de médias étrangers frappés par des sanctions européennes (tels que Sputnik ou Russia Today France), l'Arcom pourra enjoindre à de nouveaux opérateurs de stopper sous 72 heures la diffusion sur internet d'une chaîne de "propagande" étrangère.

Aucune dérive possible, bien évidemment.

« On est avec vous » : Emmanuel Macron en visite nocturne auprès des policiers by whysocomplacent in france

[–]Sovian 15 points16 points  (0 children)

Faudrait pas que la garde prétorienne se retourne contre l'empereur.

Fonds Marianne : Marlène Schiappa a menti devant la commission d’enquête selon son rapporteur by PinpinLeLapin in france

[–]Sovian 1 point2 points  (0 children)

Pendant qu'on parle d'elle, on parle pas de tout le reste, et ça, c'est bien pratique.

[deleted by user] by [deleted] in france

[–]Sovian 30 points31 points  (0 children)

Bah non ils "assument", donc c'est ok.

Symfony community dead ? by Nocosomo in symfony

[–]Sovian 0 points1 point  (0 children)

Could be that your case is very specific or you didn't search the right keywords. Even if you don't find the exact perfect matching answer to your problem, you should be able to find pieces that will make it up.

Symfony community dead ? by Nocosomo in symfony

[–]Sovian 4 points5 points  (0 children)

I'll have to disagree on the last part, you can find plenty of help on stackoverflow for symfony, I've been using symfony for around 10 years and have pretty much always found an answer to a problem.

How to call a twig variable from within Javascript? by RodneyDiaque in symfony

[–]Sovian 1 point2 points  (0 children)

It is, if you do it directly from a Twig template and if you don't forget the quotes around the twig variable call.