Skip to content

Latest commit

 

History

History
19 lines (19 loc) · 703 Bytes

README.md

File metadata and controls

19 lines (19 loc) · 703 Bytes

Persistent JMS

What is it?

This package is based on JMS Serializer and resolve symfony doctrine persistent collection support problem. When you use deserialization, original library is not support cascade and orphanRemoval relations functionality.

Installation

$ composer require alevikzs/persistent-jms

How to use

In your symfony services.yml config need to add:

jms_serializer.object_constructor:
    alias: jms_serializer.doctrine_object_constructor
    public: false
jms_serializer.array_collection_handler:
    class: PersistentJMS\ArrayCollectionHandler
    tags:
        - { name: jms_serializer.subscribing_handler }