|
@@ 68-74 (lines=7) @@
|
| 65 |
|
return self::$modelsMetadatas[$className]; |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
public static function isSerializable($class,$member){ |
| 69 |
|
$ret=self::getAnnotationInfo($class,"#notSerializable"); |
| 70 |
|
if ($ret!==false) |
| 71 |
|
return \array_search($member, $ret)===false; |
| 72 |
|
else |
| 73 |
|
return true; |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
public static function isNullable($class,$member){ |
| 77 |
|
$ret=self::getAnnotationInfo($class,"#nullable"); |
|
@@ 76-82 (lines=7) @@
|
| 73 |
|
return true; |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
public static function isNullable($class,$member){ |
| 77 |
|
$ret=self::getAnnotationInfo($class,"#nullable"); |
| 78 |
|
if ($ret!==false) |
| 79 |
|
return \array_search($member, $ret)!==false; |
| 80 |
|
else |
| 81 |
|
return false; |
| 82 |
|
} |
| 83 |
|
|
| 84 |
|
public static function getFieldName($class,$member){ |
| 85 |
|
$ret=self::getAnnotationInfo($class, "#fieldNames"); |