Skip to content

Commit 6ad0a97

Browse files
authored
Update README.md
1 parent bbd2951 commit 6ad0a97

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,15 @@ class OrdersTransformer implements JsonApiMapping
401401
{
402402
return [];
403403
}
404+
405+
/**
406+
* List the fields that are mandatory in a persitence action (POST/PUT).
407+
* If empty array is returned, all fields are mandatory.
408+
*/
409+
public function getRequiredProperties()
410+
{
411+
return [];
412+
}
404413
}
405414
```
406415

0 commit comments

Comments
 (0)