MergeDoctrineCollectionListener

MergeDoctrineCollectionListener

class MergeDoctrineCollectionListener implements EventSubscriberInterface

Merge changes from the request to a Doctrine\Common\Collections\Collection instance.

This works with ORM, MongoDB and CouchDB instances of the collection interface.

Methods

static array getSubscribedEvents()

Returns an array of event names this subscriber wants to listen to.

onSubmit(FormEvent $event)
登录查看完整内容