Class Property
Entity property (field) reflection
Methods summary
public
|
|
public
string
|
#
getName( )
Returns property name
Returns
string
|
public
string|null
|
#
getColumn( )
Returns property column
Returns
string|null
|
public
boolean
|
#
containsCollection( )
Tells whether property is assumed to contain collection
Tells whether property is assumed to contain collection
Returns
boolean
|
public
string
|
#
getType( )
Returns property type
Returns
string
|
public
boolean
|
#
isBasicType( )
Tells whether property type is basic type (boolean|integer|float|string|array)
Tells whether property type is basic type (boolean|integer|float|string|array)
Returns
boolean
|
public
boolean
|
#
isWritable( )
Tells whether property is writable
Tells whether property is writable
Returns
boolean
|
public
boolean
|
#
isNullable( )
Tells whether property can be null
Tells whether property can be null
Returns
boolean
|
public
boolean
|
#
hasRelationship( )
Tells whether property represents relationship
Tells whether property represents relationship
Returns
boolean
|
public
LeanMapper\Relationship\BelongsToMany |LeanMapper\Relationship\BelongsToOne |LeanMapper\Relationship\HasMany |LeanMapper\Relationship\HasOne |null
|
#
getRelationship( )
Returns relationship that property represents
Returns relationship that property represents
Returns
|
public
string[]|null
|
#
getFilters( integer|null $index = null )
Returns property filters
Parameters
Returns
string[]|null
|
public
boolean
|
#
containsEnumeration( )
Tells whether property contains enumeration
Tells whether property contains enumeration
Returns
boolean
|