PHP Class GraphAware\Neo4j\OGM\Metadata\ClassMetadata

Datei anzeigen Open project: graphaware/neo4j-php-ogm Class Usage Examples

Protected Properties

Property Type Description
$entityAnnotation GraphAware\Neo4j\OGM\Annotations\Entity | GraphAware\Neo4j\OGM\Annotations\Node | GraphAware\Neo4j\OGM\Annotations\RelationshipEntity

Public Methods

Method Description
__construct ( GraphAware\Neo4j\OGM\Annotations\Entity $entityAnnotation )
getLabel ( ) : string
getRelationshipType ( ) : string
isNodeEntity ( ) : boolean
isRelationshipEntity ( ) : boolean

Method Details

__construct() public method

public __construct ( GraphAware\Neo4j\OGM\Annotations\Entity $entityAnnotation )
$entityAnnotation GraphAware\Neo4j\OGM\Annotations\Entity

getLabel() public method

public getLabel ( ) : string
return string

getRelationshipType() public method

public getRelationshipType ( ) : string
return string

isNodeEntity() public method

public isNodeEntity ( ) : boolean
return boolean

isRelationshipEntity() public method

public isRelationshipEntity ( ) : boolean
return boolean

Property Details

$entityAnnotation protected_oe property

protected Entity,GraphAware\Neo4j\OGM\Annotations|Node,GraphAware\Neo4j\OGM\Annotations|RelationshipEntity,GraphAware\Neo4j\OGM\Annotations $entityAnnotation
return GraphAware\Neo4j\OGM\Annotations\Entity | GraphAware\Neo4j\OGM\Annotations\Node | GraphAware\Neo4j\OGM\Annotations\RelationshipEntity