PHP Class GraphAware\Neo4j\OGM\EntityManager

Inheritance: implements Doctrine\Common\Persistence\ObjectManager
Afficher le fichier Open project: graphaware/neo4j-php-ogm Class Usage Examples

Protected Properties

Свойство Type Description
$annotationDriver GraphAware\Neo4j\OGM\Mapping\AnnotationDriver
$databaseDriver GraphAware\Neo4j\Client\ClientInterface
$eventManager Doctrine\Common\EventManager
$loadedMetadata GraphAware\Neo4j\OGM\Metadata\GraphEntityMetadata[] | GraphAware\Neo4j\OGM\Metadata\RelationshipEntityMetadata[]
$metadataFactory GraphAware\Neo4j\OGM\Metadata\Factory\GraphEntityMetadataFactory
$repositories GraphAware\Neo4j\OGM\Repository\BaseRepository[]
$resultMappers GraphAware\Neo4j\OGM\Metadata\QueryResultMapper[]
$uow UnitOfWork

Méthodes publiques

Méthode Description
__construct ( GraphAware\Neo4j\Client\ClientInterface $databaseDriver, $cacheDirectory = null, Doctrine\Common\EventManager $eventManager = null )
buildWithHost ( string $host ) : EntityManager
clear ( $objectName = null )
contains ( $object )
create ( string $host, string | null $cacheDir = null, Doctrine\Common\EventManager $eventManager = null ) : EntityManager
detach ( $object )
find ( $className, $id )
flush ( )
getAnnotationDriver ( ) : AnnotationDriver
getClassMetadata ( $className )
getClassMetadataFor ( $class ) : NodeEntityMetadata
getDatabaseDriver ( ) : Client
getEventManager ( ) : Doctrine\Common\EventManager
getMetadataFactory ( )
getRelationshipEntityMetadata ( string $class ) : RelationshipEntityMetadata
getRepository ( string $class ) : BaseRepository
getResultMappingMetadata ( $class )
getUnitOfWork ( ) : UnitOfWork
initializeObject ( $obj )
merge ( $object )
persist ( $entity )
refresh ( $object )
remove ( $object )

Method Details

__construct() public méthode

public __construct ( GraphAware\Neo4j\Client\ClientInterface $databaseDriver, $cacheDirectory = null, Doctrine\Common\EventManager $eventManager = null )
$databaseDriver GraphAware\Neo4j\Client\ClientInterface
$eventManager Doctrine\Common\EventManager

buildWithHost() public static méthode

public static buildWithHost ( string $host ) : EntityManager
$host string
Résultat EntityManager

clear() public méthode

public clear ( $objectName = null )

contains() public méthode

public contains ( $object )

create() public static méthode

public static create ( string $host, string | null $cacheDir = null, Doctrine\Common\EventManager $eventManager = null ) : EntityManager
$host string
$cacheDir string | null
$eventManager Doctrine\Common\EventManager
Résultat EntityManager

detach() public méthode

public detach ( $object )

find() public méthode

public find ( $className, $id )

flush() public méthode

public flush ( )

getAnnotationDriver() public méthode

public getAnnotationDriver ( ) : AnnotationDriver
Résultat GraphAware\Neo4j\OGM\Mapping\AnnotationDriver

getClassMetadata() public méthode

public getClassMetadata ( $className )

getClassMetadataFor() public méthode

public getClassMetadataFor ( $class ) : NodeEntityMetadata
$class
Résultat GraphAware\Neo4j\OGM\Metadata\NodeEntityMetadata

getDatabaseDriver() public méthode

public getDatabaseDriver ( ) : Client
Résultat GraphAware\Neo4j\Client\Client

getEventManager() public méthode

public getEventManager ( ) : Doctrine\Common\EventManager
Résultat Doctrine\Common\EventManager

getMetadataFactory() public méthode

public getMetadataFactory ( )

getRelationshipEntityMetadata() public méthode

public getRelationshipEntityMetadata ( string $class ) : RelationshipEntityMetadata
$class string
Résultat GraphAware\Neo4j\OGM\Metadata\RelationshipEntityMetadata

getRepository() public méthode

public getRepository ( string $class ) : BaseRepository
$class string
Résultat GraphAware\Neo4j\OGM\Repository\BaseRepository

getResultMappingMetadata() public méthode

public getResultMappingMetadata ( $class )

getUnitOfWork() public méthode

public getUnitOfWork ( ) : UnitOfWork
Résultat UnitOfWork

initializeObject() public méthode

public initializeObject ( $obj )

merge() public méthode

public merge ( $object )

persist() public méthode

public persist ( $entity )

refresh() public méthode

public refresh ( $object )

remove() public méthode

public remove ( $object )

Property Details

$annotationDriver protected_oe property

protected AnnotationDriver,GraphAware\Neo4j\OGM\Mapping $annotationDriver
Résultat GraphAware\Neo4j\OGM\Mapping\AnnotationDriver

$databaseDriver protected_oe property

protected ClientInterface,GraphAware\Neo4j\Client $databaseDriver
Résultat GraphAware\Neo4j\Client\ClientInterface

$eventManager protected_oe property

protected EventManager,Doctrine\Common $eventManager
Résultat Doctrine\Common\EventManager

$loadedMetadata protected_oe property

protected GraphEntityMetadata[],GraphAware\Neo4j\OGM\Metadata|RelationshipEntityMetadata[],GraphAware\Neo4j\OGM\Metadata $loadedMetadata
Résultat GraphAware\Neo4j\OGM\Metadata\GraphEntityMetadata[] | GraphAware\Neo4j\OGM\Metadata\RelationshipEntityMetadata[]

$metadataFactory protected_oe property

protected GraphEntityMetadataFactory,GraphAware\Neo4j\OGM\Metadata\Factory $metadataFactory
Résultat GraphAware\Neo4j\OGM\Metadata\Factory\GraphEntityMetadataFactory

$repositories protected_oe property

protected BaseRepository[],GraphAware\Neo4j\OGM\Repository $repositories
Résultat GraphAware\Neo4j\OGM\Repository\BaseRepository[]

$resultMappers protected_oe property

protected QueryResultMapper[],GraphAware\Neo4j\OGM\Metadata $resultMappers
Résultat GraphAware\Neo4j\OGM\Metadata\QueryResultMapper[]

$uow protected_oe property

protected UnitOfWork,GraphAware\Neo4j\OGM $uow
Résultat UnitOfWork