PHP Class GraphAware\Neo4j\OGM\Finder\RelationshipsFinder

Show file Open project: graphaware/neo4j-php-ogm Class Usage Examples

Protected Properties

Property Type Description
$className
$em
$relationshipMetadata

Public Methods

Method Description
__construct ( EntityManager $em, $className, RelationshipMetadata $relationshipMetadata )
buildStatement ( $fromId, $direction, $type, $identifier )
find ( $fromId )

Protected Methods

Method Description
hydrateResult ( GraphAware\Common\Result\Result $result )

Method Details

__construct() public method

public __construct ( EntityManager $em, $className, RelationshipMetadata $relationshipMetadata )
$em GraphAware\Neo4j\OGM\EntityManager
$relationshipMetadata GraphAware\Neo4j\OGM\Metadata\RelationshipMetadata

buildStatement() public method

public buildStatement ( $fromId, $direction, $type, $identifier )

find() public method

public find ( $fromId )

hydrateResult() protected method

protected hydrateResult ( GraphAware\Common\Result\Result $result )
$result GraphAware\Common\Result\Result

Property Details

$className protected property

protected $className

$em protected property

protected $em

$relationshipMetadata protected property

protected $relationshipMetadata