I have my custom service, e.g.. MyService with serializer <?php declare(strict_types=1); namespace App\Common; use Symfony\Componen ...
I have my custom service, e.g.. MyService with serializer <?php declare(strict_types=1); namespace App\Common; use Symfony\Componen ...
I'm trying to display a plot that is generated with plotly in python, inside my laravel application. When I execute python3.8 ../storage/app/public/r ...
I'm writing a console app using Symfony Console Component. I'm trying to interact with questions and tables. I want to ask a question and then output ...
I've been assigned to a project which needs include the Symfony components in order to re-organize its business logic. However, I got confused by look ...
I just took a project from a couple of months ago which was made in Laravel. This project also utilizes Laravel Voyager - the admin panel package. Af ...
I am using the Symfony templating component to add templating functionality to the project I am working on, I am following the docs here but I am usin ...
I want to call a method multiple time and get all result as single array or anything . As example laravel Web.php file I want to get result like ...
I would like to be able to use nested parameters defined in one configuration file in another for examle To be used in another configuration file ...
I'm using the following Symfony components: I have a forms.yaml and services.yaml. Services config file has information about services to be loaded ...
I'm using symfony serializer. But if I install composer packages with --no-dev flag, it deserializes data that supposed to be array of objects in arra ...
I'm using Symfony DIC, Routing and ControllerResolver in my project following Create your own PHP Framework I do not understand how I can correctly t ...
I want to select an element/div tag by using XPath (Symfony Dom Crawler): $element->filterXPath('//span[text() = "SOMEtext"]')->text(); It wor ...
I have two commands defined in a Symfony console application, clean-redis-keys and clean-temp-files. I want to define a command clean that executes th ...
I've the follows situation based on OptionsResolver Component: I have two options: bar and foo, both null by default. bar option accepts B value ...
I need configure default lifetime from cache Adapter, but something weird has been happening, the follows don't works!? :/ Reference http://symf ...
I need allow types that implement two interfaces (Foo and Bar), not one of them. Wrong! allows Foz and Baz instances too. I need allow types sub ...
I started learning silex framework (based on symfony). I write code like this There are many configuration options like pattern, form, users etc ( ...
I want to find specific texts in some files in a directory. I tried using Symfony Finder Component, but couldn't get the result. Here is my code below ...
I'm trying to use the translation component but I'm not able to get it - and use - properly. When I request /testT: What I get is this: hence, ...
I have the following code; My method GetResolvedUrlListener does a curl request to discover the correct protocol and final address (following redir ...