Метод |
Описание |
|
__call ( $func, $args ) |
Passthrough for missing methods on expected object result |
|
eagerLoadOnCollection ( $relationName, Collection $collection ) : Spot\Collection |
Map relation results to original collection of entities |
|
entityKey ( ) : string |
Get entity key field - defaults to the primary key |
|
entityName ( ) : string |
Get entity name object |
|
execute ( ) |
Execute query and return results |
|
foreignKey ( ) : string |
Get foreign key field |
|
identityValue ( $identityValue = null ) : mixed |
Get identity value |
|
identityValuesFromCollection ( Collection $collection ) |
Set identity values from given collection |
|
localKey ( ) : string |
Get local key field |
|
mapper ( ) : Mapper |
Get Mapper object |
|
query ( ) |
Get query object instance |
|
save ( Spot\EntityInterface $entity, string $relationName, array $options = [] ) : boolean |
Save related entities |
|