summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Coevoet <stof@notk.org>2011-04-08 20:09:37 +0200
committerChristophe Coevoet <stof@notk.org>2011-04-08 20:09:37 +0200
commitc59833674e152cdac4209866173c7c4b8ad09541 (patch)
tree334c0b7576c50dedfa0eab60ab442ade7d8967c0
parent67bf8c153bcf6ef80d039b8a5240e3926a06fd43 (diff)
Made the entity read-only
-rw-r--r--src/Sde/WebserviceBundle/Entity/Association.php2
-rw-r--r--src/Sde/WebserviceBundle/Entity/Mandate.php2
-rw-r--r--src/Sde/WebserviceBundle/Entity/Position.php2
-rw-r--r--src/Sde/WebserviceBundle/Entity/StandardPosition.php2
-rw-r--r--src/Sde/WebserviceBundle/Entity/Student.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/Sde/WebserviceBundle/Entity/Association.php b/src/Sde/WebserviceBundle/Entity/Association.php
index 8ac4599..6210008 100644
--- a/src/Sde/WebserviceBundle/Entity/Association.php
+++ b/src/Sde/WebserviceBundle/Entity/Association.php
@@ -27,7 +27,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
* @author Christophe Coevoet
*
* @orm:Table(name="bdu.bdu_assoces")
- * @orm:Entity(repositoryClass="Sde\WebserviceBundle\Repository\AssociationRepository")
+ * @orm:Entity(repositoryClass="Sde\WebserviceBundle\Repository\AssociationRepository", readOnly=true)
*/
class Association implements NormalizableInterface
{
diff --git a/src/Sde/WebserviceBundle/Entity/Mandate.php b/src/Sde/WebserviceBundle/Entity/Mandate.php
index fed1878..3fd4912 100644
--- a/src/Sde/WebserviceBundle/Entity/Mandate.php
+++ b/src/Sde/WebserviceBundle/Entity/Mandate.php
@@ -27,7 +27,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
* @author Christophe Coevoet
*
* @orm:Table(name="bdu.bdu_ele_fonc")
- * @orm:Entity(repositoryClass="Sde\WebserviceBundle\Repository\MandateRepository")
+ * @orm:Entity(repositoryClass="Sde\WebserviceBundle\Repository\MandateRepository", readOnly=true)
*/
class Mandate implements NormalizableInterface
{
diff --git a/src/Sde/WebserviceBundle/Entity/Position.php b/src/Sde/WebserviceBundle/Entity/Position.php
index cf9c81c..6084ee0 100644
--- a/src/Sde/WebserviceBundle/Entity/Position.php
+++ b/src/Sde/WebserviceBundle/Entity/Position.php
@@ -27,7 +27,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
* @author Christophe Coevoet
*
* @orm:Table(name="bdu.bdu_fonctions")
- * @orm:Entity
+ * @orm:Entity(readOnly=true)
*/
class Position implements NormalizableInterface
{
diff --git a/src/Sde/WebserviceBundle/Entity/StandardPosition.php b/src/Sde/WebserviceBundle/Entity/StandardPosition.php
index 549b7ff..e5155b1 100644
--- a/src/Sde/WebserviceBundle/Entity/StandardPosition.php
+++ b/src/Sde/WebserviceBundle/Entity/StandardPosition.php
@@ -27,7 +27,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
* @author Christophe Coevoet
*
* @orm:Table(name="bdu.bdu_fonctions_standard")
- * @orm:Entity
+ * @orm:Entity(readOnly=true)
*/
class StandardPosition
{
diff --git a/src/Sde/WebserviceBundle/Entity/Student.php b/src/Sde/WebserviceBundle/Entity/Student.php
index c377dec..64922b3 100644
--- a/src/Sde/WebserviceBundle/Entity/Student.php
+++ b/src/Sde/WebserviceBundle/Entity/Student.php
@@ -28,7 +28,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
* @author Christophe Coevoet
*
* @orm:Table(name="bdu.bdu_eleves")
- * @orm:Entity
+ * @orm:Entity(readOnly=true)
*/
class Student implements NormalizableInterface
{