Bravo3\Orm\Tests\AbstractOrmTest::getRelKey PHP Method

getRelKey() protected method

protected getRelKey ( EntityManager $em, $from, $to, $id, $property, RelationshipType $type )
$em Bravo3\Orm\Services\EntityManager
$type Bravo3\Orm\Enum\RelationshipType
    protected function getRelKey(EntityManager $em, $from, $to, $id, $property, RelationshipType $type)
    {
        $rel = new Relationship($property, $type);
        return $em->getKeyScheme()->getRelationshipKey($rel, $from, $to, $id);
    }