Asmir Mustafic

Results 550 comments of Asmir Mustafic

A nice thing to do can be to allow listeners to be triggered on any type... and that should be something [here](https://github.com/schmittjoh/serializer/tree/master/src/JMS/Serializer/EventDispatcher)

what about your message from one hour ago? > And how do I create a handler that is used always? When I remove the type key from getSubscribingMethods I get...

My bad, on my first message I wanted to write : > Hi, thanks for the request. Currently there is nothing in the core that allows something similar. Maybe a...

`array_keys($event->getData());` will work only for json/yml but the general idea is correct

Hi, thanks for the PR. I like the idea, but I'm not sure that works as expected. IMO it will skip all the props when enabled. To check it, can...

Should this be a phpstan issue instead?

I would like to do this change but I have no credentials to do so (and it is already a long time @schmittjoh is not answering my messages...)

Not yet. PR are welcome On 5 May 2017 14:12, "hiromik" wrote: > Is there an option to remove the xml declaration from the result when > serializing to xml...

a failing test case (as pull request) will be very welcome

If you are using, SerializerBuilder::create(), you are completely bypassing all the symfony handling and getting a plain serializer. You should use the symfony dependency injection and get the instance from...