|
@@ -159,14 +159,15 @@ class AnnotationDriver implements DriverInterface
|
|
$propertyMetadata->xmlValue = true;
|
|
$propertyMetadata->xmlValue = true;
|
|
} else if ($annot instanceof AccessType) {
|
|
} else if ($annot instanceof AccessType) {
|
|
$AccessType = $annot->type;
|
|
$AccessType = $annot->type;
|
|
|
|
+ //we need ReadOnly before setter and getter set, because that method depends on flag being set
|
|
|
|
+ } else if ($annot instanceof ReadOnly) {
|
|
|
|
+ $propertyMetadata->readOnly = true;
|
|
} else if ($annot instanceof Accessor) {
|
|
} else if ($annot instanceof Accessor) {
|
|
$accessor = array($annot->getter, $annot->setter);
|
|
$accessor = array($annot->getter, $annot->setter);
|
|
} else if ($annot instanceof Groups) {
|
|
} else if ($annot instanceof Groups) {
|
|
$propertyMetadata->groups = $annot->groups;
|
|
$propertyMetadata->groups = $annot->groups;
|
|
} else if ($annot instanceof Inline) {
|
|
} else if ($annot instanceof Inline) {
|
|
$propertyMetadata->inline = true;
|
|
$propertyMetadata->inline = true;
|
|
- } else if ($annot instanceof ReadOnly) {
|
|
|
|
- $propertyMetadata->readOnly = true;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|