Skip to content

Commit 578f60d

Browse files
committed
added fixes
1 parent fac3a55 commit 578f60d

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Persistent JMS
2-
JMS array collection handler for symfony doctrine persistent collection support.
2+
#### What is it?
3+
This package is based on [JMS Serializer](https://github.com/schmittjoh/serializer) and resolve symfony doctrine persistent collection support problem.
4+
When you use deserialization, original library is not support cascade and orphanRemoval relations functionality.
35
#### How to use
46
In your symfony services.yml config need to add:
57
```

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "alevikzs/persistent-jms",
33
"description": "JMS array collection handler for symfony doctrine persistent collection support",
4-
"keywords": ["php", "symfony", "doctrine", "jms", "array collection", "persistent collection"],
4+
"keywords": ["php", "symfony", "doctrine", "jms serializer", "array collection", "persistent collection"],
55
"type": "library",
66
"license": "MIT",
77
"authors": [

src/ArrayCollectionHandler.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ class ArrayCollectionHandler implements SubscribingHandlerInterface {
3131
*/
3232
private $initializeExcluded = true;
3333

34+
/**
35+
* ArrayCollectionHandler constructor.
36+
* @param bool $initializeExcluded
37+
*/
3438
public function __construct($initializeExcluded = true) {
3539
$this->initializeExcluded = $initializeExcluded;
3640

0 commit comments

Comments
 (0)