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