$entityClass
$entityClass : string
The entity that this class handles
GoalAdditionOptionHandler class
getRepresentation(\Pivot\Core\Handlers\int/object/array $mixed, string $className) : \Pivot\Core\Handlers\Entity
Gets a representation of an entity
\Pivot\Core\Handlers\int/object/array | $mixed | id value |
string | $className | Classname of the entity |
Representation/Null
modifyCollection(\Pivot\Core\Traits\Entity $entityWithCollection, array $submittedArray, string $param, string $className, $getOverride = null) : \Pivot\Core\Traits\Entity
Remove missing relations, add new relations, and ignore non-changed
\Pivot\Core\Traits\Entity | $entityWithCollection | |
array | $submittedArray | Array to calculate changes from |
string | $param | param of the entity that has the collection |
string | $className | Class of the assoicated collection entity |
$getOverride |
with modified collection
setAssembler(\Pivot\Core\Interfaces\IsAssembler $assembler)
\Pivot\Core\Interfaces\IsAssembler | $assembler |