Skip to content
Advertisement

Tag: symfony

Custom Iterator with a callback

For my project, I have a DoctrineIterator created by a repository. This iterator returns an array based on my internal request. I need another iterator returning an object based on this array a generic solution (I have more than one occurrence of this) The usage of the second iterator is out of my scope, so a can’t update the value

Symfony 5 can’t install sensio/generator-bundle

i tried a fresh new symfony 5 project, but i cannot install the generator bundle to ease everything with doctrine entities. It seems that Symfony 5 is too new to install the generator bundle. Here is the output of the composer command to add the sensio generator bundle: and here is my composer.json file Answer This bundle does not support

Symfony 3.4 Functional tests

I have been stuck for some time on an error to do my functional tests with symfony 3.4. My app run a custom GuardAuthenticator for authenticate my users within CAS authentication. This is just for explain the context. In my tests, I don’t want to use it, I want to use a specific authentication system. I wrote functional tests. I

Symfony/Doctrine: get list of available commands

I have a Symfony project and I’m trying to get a list of available commands in my controller, so I tried to execute the list-command (together with –format=xml) to achieve that. I used the code listed here to run a command from a controller but end up with the error “Not passing a connection provider as the first constructor argument

Configuring Symfony 5 Application on Apache server

I need some help with configuring Symfony on apache2 web server. My current project category structure is: var/www/domain.com/public_html Inside public_html is where my Symfony application is located. I am stuck at figuring our what I am doing wrong in my either .htaccess or /etc/apache2/sites-available/domain.com.conf files. I am using symfony/apache-pack. My .htaccess files live inside /public folder as per documentation. Here

Advertisement