$entityClass
$entityClass : string
The entity that this class handles
Abstract handler class
$uploader : \Pivot\Core\Services\S3Uploader
S3 Uploader
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 |
__construct(\Pivot\Core\Services\S3Uploader $uploader, integer $subscriptionId)
Create an UploadedFileHandler
\Pivot\Core\Services\S3Uploader | $uploader | |
integer | $subscriptionId |
showFile(\Pivot\Client\Entities\UploadedFile $uploadedFile)
\Pivot\Client\Entities\UploadedFile | $uploadedFile |
downloadFile(\Pivot\Client\Entities\UploadedFile $uploadedFile)
\Pivot\Client\Entities\UploadedFile | $uploadedFile |
dumpFile(\Pivot\Client\Entities\UploadedFile $uploadedFile, $contentDisposition)
\Pivot\Client\Entities\UploadedFile | $uploadedFile | |
$contentDisposition |
getAwsPath(\Pivot\Client\Entities\UploadedFile $uploadedFile = null, $module = null)
\Pivot\Client\Entities\UploadedFile | $uploadedFile | |
$module |
getDownloadUrl(\Pivot\Client\Entities\UploadedFile $uploadedFile)
\Pivot\Client\Entities\UploadedFile | $uploadedFile |
getShowUrl(\Pivot\Client\Entities\UploadedFile $uploadedFile)
\Pivot\Client\Entities\UploadedFile | $uploadedFile |