Skip to content
Advertisement

Tag: doctrine

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

Convert PHP Doctrine date to JS [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 1 year ago. Improve this question There is a webservice that provides me dates in JSON format like this: Which would be the easiest way to

Doctrine ArrayCollection refuses to update after insert

I’m trying to save a collection of files. When I save a collection, it goes into the DB without a hitch. Same with files. But when I add a collection and a new file in the same request (like here in the upload function). Whenever I then ask doctrine to get me the files in the collection (in this case

Advertisement