Method |
Description |
|
castBinary ( ) : string |
Casts the given $value to a binary. |
|
castBoolean ( ) : boolean |
Casts the given $value to boolean. |
|
castByte ( ) : mixed |
Casts the given $value to a byte. |
|
castDate ( ) : DateTime |
Casts the given $value to a DateTime object. |
|
castDateTime ( ) : DateTime |
Casts the given $value to a DateTime object. |
|
castDouble ( ) : float |
Casts the given $value to a double (well. |
|
castEmbedded ( ) : mixed |
Given an embedded record, it uses the mapper to hydrate it. |
|
castEmbeddedList ( ) : Array |
Casts a list of embedded entities |
|
castEmbeddedMap ( ) : Array |
Casts a map (key-value preserved) of embedded entities |
|
castEmbeddedSet ( ) : Array |
Casts a set of embedded entities |
|
castFloat ( ) : float |
Casts the value to a float. |
|
castInBuffer ( integer $limit, string $type ) : integer |
Casts the current value into an integer verifying it belongs to a certain
range ( -$limit < $value > + $limit ). |
|
castInteger ( ) : integer |
Casts the value into an integer. |
|
castLink ( ) : mixed | null |
Casts the current internal value into an hydrated object through a
Doctrine\OrientDB\ODM\Mapper object, finding it by rid. |
|
castLinklist ( ) : Array |
Hydrates multiple objects through a Mapper. |
|
castLinkmap ( ) : Array |
Hydrates multiple objects through a Mapper. |
|
castLinkset ( ) : Array |
Hydrates multiple objects through a Mapper. |
|
castLong ( ) : mixed |
Casts the given $value to a long. |
|
castShort ( ) : mixed |
Casts the value to a short. |
|
castString ( ) : string |
Casts the value to string. |
|
setProperty ( string $key, mixed $property ) |
Defines properties that can be internally used by the caster. |
|
setValue ( mixed $value ) |
Sets the internal value to work with. |
|