Skip to content
Advertisement

Tag: symfony4

Show form errors

I would like to show error messages in the top of my registration form. I created my registration form:

Register

{{ form_start(form) }} {{ …

My profiler toolbar isn’t showing up in symfony 4.3.1

In my .env file, I have specified my app environment to be dev and debug to be true like so: In my config/packages/dev/web_profiler.yaml file I have the following: The routing within config/routes/dev/web_profiler.yaml seems to be fine: So when I run the server with symfony server:start everything is fine, but the profiler doesn’t appear. Did I miss something that enables that

Panther Chrome WebDriver : Full screen?

In my functional test of my symfony 4 application, i use the Chrome Webdriver with PANTHER_NO_HEADLESS=1 to see what happen. My problem is : Chrome browser starting with Debug Tool (F12) and not in full screen. This is a problem because i want to test elements that appears only on full screen. My test : Command : Then How can

Get data from multiple rows

I would like to get the value of the column uid from all rows where the value of the column city is london. I have tried it like this: $this->getDoctrine()->getRepository(Personal::class)->…

Advertisement