Method |
Description |
|
buildPrerequisites ( object $entity, Entity $metadata = null, Reader $reader = null, string $local_id = null ) : array |
Build requisite services & data if they were not provided |
|
getDriver ( ) : Bravo3\Orm\Drivers\DriverInterface |
Get the driver belonging to the entity manager |
|
getEntityId ( object $entity ) : string |
Get the full ID of an entity |
|
getKeyScheme ( ) : Bravo3\Orm\KeySchemes\KeySchemeInterface |
Get the key scheme belonging to the entity manager |
|
getMapper ( ) : Bravo3\Orm\Mappers\MapperInterface |
Get the mapper belonging to the entity manager |
|
getRelationshipKey ( Relationship $relationship, string $source_id ) : string |
Get a relationship key, resolving table names accordingly |
|
getSortIndexKey ( Relationship $relationship, $sort_name, $source_id ) : string |
Get a sort index key, resolving table names accordingly |
|
getSourceTable ( Relationship $relationship ) : string |
Get the relationship source table name |
|
getTableForClass ( string $class ) : string |
Get the table name for a given entity class |
|
getTargetTable ( Relationship $relationship ) : string |
Get the relationship target table name |
|