Property | Type | Description | |
---|---|---|---|
$multipleAssociations | |||
$singleAssociations |
Property | Type | Description | |
---|---|---|---|
$annotationReader | |||
$cache | |||
$classMap | |||
$documentDirectories | |||
$metadata |
Method | Description | |
---|---|---|
__construct ( Doctrine\ODM\OrientDB\Mapper\Annotations\ReaderInterface $annotationReader, Doctrine\Common\Cache\Cache $cache ) | ||
findClassMappingInDirectories ( string $OClass ) : string | Tries to find the PHP class mapping Doctrine\OrientDB's $OClass in each of the directories where the documents are stored. | |
getAllMetadata ( ) | ||
getClassAnnotation ( string $class ) : |
Returns the annotation of a class. | |
getClassByPath ( string $file, string $namespace ) : string | Returns the fully qualified name of a class by its path | |
getDocumentDirectories ( ) : array | Returns the directories in which the mapper is going to look for classes mapped for the Doctrine\OrientDB ODM. | |
getMetadataFor ( $className ) : |
||
getObjectPropertyAnnotations ( mixed $document ) : array | Returns all the annotations in the $document's properties. | |
getPropertyAnnotation ( ReflectionProperty $property ) : |
Returns the annotation of a property. | |
hasMetadataFor ( $className ) | ||
isTransient ( string $className ) : boolean | Whether the class with the specified name should have its metadata loaded. | |
setDocumentDirectories ( array $directories ) | Sets the directories in which the mapper is going to look for classes mapped for the Doctrine\OrientDB ODM. | |
setMetadataFor ( $className, $metadata ) |
Method | Description | |
---|---|---|
findClassMappingInDirectory ( string $OClass, string $directory, string $namespace ) : string | null | Searches a PHP class mapping Doctrine\OrientDB's $OClass in $directory, which uses the given $namespace. | |
getAssociationTypes ( ) : Array | Returns all the possible association types. | |
populateMetadata ( |
public __construct ( Doctrine\ODM\OrientDB\Mapper\Annotations\ReaderInterface $annotationReader, Doctrine\Common\Cache\Cache $cache ) | ||
$annotationReader | Doctrine\ODM\OrientDB\Mapper\Annotations\ReaderInterface | |
$cache | Doctrine\Common\Cache\Cache |
public findClassMappingInDirectories ( string $OClass ) : string | ||
$OClass | string | |
return | string |
protected getAssociationTypes ( ) : Array | ||
return | Array |
public getClassAnnotation ( string $class ) : |
||
$class | string | |
return |
public getDocumentDirectories ( ) : array | ||
return | array |
public getMetadataFor ( $className ) : |
||
return |
public getObjectPropertyAnnotations ( mixed $document ) : array | ||
$document | mixed | |
return | array |
public getPropertyAnnotation ( ReflectionProperty $property ) : |
||
$property | ReflectionProperty | |
return |
public isTransient ( string $className ) : boolean | ||
$className | string | |
return | boolean |
protected populateMetadata ( |
||
$metadata |
public setDocumentDirectories ( array $directories ) | ||
$directories | array |