From acb39351035aa02e0c89bad749ea0db7c0027c7d Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Fri, 23 Sep 2016 11:48:22 +0200 Subject: [PATCH] Documentation --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index b6d4828..8ec2498 100644 --- a/README.md +++ b/README.md @@ -11,15 +11,15 @@ This a propel behavior to auto-generate methods of [FOSRestBundle](http://symfon ``` - - - + + + - - - - - + + + + +
``` @@ -33,7 +33,7 @@ After the model generation, the abstract class `Foo` will be updated with new an */ abstract class Foo implements ActiveRecordInterface { - ... + ... /** * @JMS\Serializer\Annotation\SerializedName("id") @@ -45,7 +45,7 @@ abstract class Foo implements ActiveRecordInterface return $this->getId(); } - /** + /** * @JMS\Serializer\Annotation\SerializedName("label") * @JMS\Serializer\Annotation\Groups({"myGroup"}) * @JMS\Serializer\Annotation\VirtualProperty @@ -55,7 +55,7 @@ abstract class Foo implements ActiveRecordInterface return $this->getLabel(); } - /** + /** * @JMS\Serializer\Annotation\SerializedName("is_active") * @JMS\Serializer\Annotation\Groups({"myGroup", "anotherGroup"}) * @JMS\Serializer\Annotation\VirtualProperty @@ -65,6 +65,6 @@ abstract class Foo implements ActiveRecordInterface return $this->getIsActive(); } - ... + ... } ```