18 if (($r = self::getAnnotationMember ( $class, $member,
'column' )) ===
false) {
26 if (\is_object ( $ret ) && \property_exists ( $ret,
'dbType' )) {
41 if ($ret ===
false || ! isset ( $ret->name )) {
51 if (\is_object ( $ret ) && \property_exists ( $ret,
'nullable' )) {
52 return $ret->nullable;
58 $reflect = new \ReflectionClass ( $class );
59 return $reflect->getProperties ();
63 $reflect = new \ReflectionClass ( $instance );
65 if ($reflect->hasProperty ( $member )) {
66 $prop = $reflect->getProperty ( $member );
72 if (($r = self::getMetadata ( $class, $property,
'var',
'type' )) ===
false) {
73 $reflect = new \ReflectionProperty ( $class, $property );
74 return $reflect->getType ();
79 public static function getMetadata($class, $property, $type, $name) {
81 if (! \count ( $a )) {
84 return \trim ( $a [0]->$name,
';' );
static getPropertyType($class, $property)
static isSerializable($class, $member)
static getProperties($class)
static getDbType($class, $member)
static getFieldName($class, $member)
static getProperty($instance, $member)
static getAnnotationColumnMember($class, $member)
static getMetadata($class, $property, $type, $name)
static isNullable($class, $member)
static getAnnotationMember($class, $member, $annotation)