Method |
Description |
|
__construct ( Mapper $mapper, $entityName, $foreignKey, $localKey, $identityValue ) |
Constructor function |
|
__get ( $key ) |
---------------------------------------------- |
|
__set ( $key, $val ) |
|
|
entity ( ) |
Helper function to return the entity |
|
execute ( ) : Entity |
Find first entity in the set |
|
identityValuesFromCollection ( Collection $collection ) |
Set identity values from given collection |
|
offsetExists ( $key ) |
---------------------------------------------- |
|
offsetGet ( $key ) |
|
|
offsetSet ( $key, $value ) |
|
|
offsetUnset ( $key ) |
|
|
save ( Spot\EntityInterface $entity, string $relationName, array $options = [] ) : boolean |
Save related entities |
|