프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$binding | |||
$cache | |||
$castedProperties | |||
$caster | |||
$clusterMap | |||
$enableMismatchesTolerance | |||
$inflector | |||
$metadataFactory | |||
$proxyFactory | |||
$uow |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
enableMismatchesTolerance ( boolean $tolerate ) | Sets whether the Hydrator should tolerate mismatches during hydration. | |
hydrate ( stdClass $orientObject, Doctrine\ODM\OrientDB\Proxy\Proxy $proxy = null ) : Result | Takes an Doctrine\OrientDB JSON object and finds the class responsible to map that object. | |
hydrateCollection ( array $collection ) : Doctrine\ODM\OrientDB\Collections\ArrayCollection | Hydrates an array of documents. | |
hydrateRid ( |
||
load ( array $rids, string $fetchPlan = null ) : mixed | ||
toleratesMismatches ( ) : boolean | Checks whether the Hydrator throws exceptions or not when encountering an mismatch error during hydration. |
메소드 | 설명 | |
---|---|---|
castProperty ( |
Casts a value according to how it was annotated. | |
createDocument ( string $class, stdClass $orientObject ) : object | Either tries to get the proxy | |
fill ( object $document, stdClass $object ) : object | Given an object and an Orient-object, it fills the former with the latter. | |
getCache ( ) : Doctrine\Common\Cache\Cache | Returns the caching layer of the mapper. | |
getCastedPropertyCacheKey ( $type, $value ) | ||
getCaster ( ) : |
Returns the caster instance. | |
getMetadataFactory ( ) : |
Returns the MetadataFactor. | |
getProxyFactory ( ) : |
Returns the ProxyFactory to which the hydrator is attached. | |
getUnitOfWork ( ) | ||
hydrateValue ( $value, |
Hydrates the value | |
verifyCastingSupport ( |
Verifies if the given $caster supports casting with $method. |
protected castProperty ( |
||
$annotation | ||
$propertyValue | mixed | |
리턴 | mixed |
protected createDocument ( string $class, stdClass $orientObject ) : object | ||
$class | string | |
$orientObject | stdClass | |
리턴 | object | of type $class |
public enableMismatchesTolerance ( boolean $tolerate ) | ||
$tolerate | boolean |
protected getCache ( ) : Doctrine\Common\Cache\Cache | ||
리턴 | Doctrine\Common\Cache\Cache |
protected getCaster ( ) : |
||
리턴 |
protected getMetadataFactory ( ) : |
||
리턴 |
protected getProxyFactory ( ) : |
||
리턴 |
public hydrate ( stdClass $orientObject, Doctrine\ODM\OrientDB\Proxy\Proxy $proxy = null ) : Result | ||
$orientObject | stdClass | |
$proxy | Doctrine\ODM\OrientDB\Proxy\Proxy | |
리턴 | Result |
public hydrateCollection ( array $collection ) : Doctrine\ODM\OrientDB\Collections\ArrayCollection | ||
$collection | array | |
리턴 | Doctrine\ODM\OrientDB\Collections\ArrayCollection |
protected hydrateValue ( $value, |
||
$value | ||
$annotation | ||
리턴 | mixed | null |
public toleratesMismatches ( ) : boolean | ||
리턴 | boolean |
protected verifyCastingSupport ( |
||
$caster | ||
$method | string | |
$annotationType | string |