|
@@ 26-32 (lines=7) @@
|
| 23 |
|
return self::$modelsMetadatas[$className]; |
| 24 |
|
} |
| 25 |
|
|
| 26 |
|
public static function isSerializable($class,$member){ |
| 27 |
|
$ret=self::getAnnotationInfo($class,"#notSerializable"); |
| 28 |
|
if ($ret!==false) |
| 29 |
|
return \array_search($member, $ret)===false; |
| 30 |
|
else |
| 31 |
|
return true; |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
public static function isNullable($class,$member){ |
| 35 |
|
$ret=self::getAnnotationInfo($class,"#nullable"); |
|
@@ 34-40 (lines=7) @@
|
| 31 |
|
return true; |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
public static function isNullable($class,$member){ |
| 35 |
|
$ret=self::getAnnotationInfo($class,"#nullable"); |
| 36 |
|
if ($ret!==false) |
| 37 |
|
return \array_search($member, $ret)!==false; |
| 38 |
|
else |
| 39 |
|
return false; |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
public static function getFieldName($class,$member){ |
| 43 |
|
$ret=self::getAnnotationInfo($class, "#fieldNames"); |