Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about symfony-4.4

Read more about symfony-4.4

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)

Questions - symfony-4.4

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: ...
test-img

a_fr159

php

symfony

symfony-3.4

symfony-4.4

Votes: 0

Answers: 1

Latest Answer

If you have already installed dotenv component so you can set a new variable in your .env file BASE_URL = 'your_url' //need http://localhost/ or https://production_url If not you can put it in parame...
test-img

Alaeddine Thamine

How to customize the display of "There is already an account with this" message in Twig

I'm trying to customize the display of this error message "There is already an account with this" in Twig. This is the relevant code in the form class: ->add('cin', TextType::class, [ ...
test-img

Nadim

twig

customization

textfield

message

symfony-4.4

Votes: 0

Answers: 2

Latest Answer

After some more research we identified that the error message can be changed in the @UniqueEntity validator in the user class. Changing the current validator from /** * @ORM\Entity(repositoryClass=Use...
test-img

David

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved