FileHandlingService uses ResourceInstructionTrait

Read onlyYes
Internal

Only to be used within Extbase, not part of TYPO3 Core API.

Attributes
#[Autoconfigure]
$public: true

Table of Contents

Constants

DELETE_IDENTIFIER  : mixed = '@delete'

Properties

$dataMapFactory  : DataMapFactory
$eventDispatcher  : EventDispatcherInterface
$extensionService  : ExtensionService
$hashService  : HashService
$reflectionService  : ReflectionService
$resourceFactory  : ResourceFactory
$storageRepository  : StorageRepository

Methods

__construct()  : mixed
applyDeletionsToArgument()  : void
initializeFileUploadConfigurationsFromRequest()  : void
Initializes file upload configurations for all FileUpload properties of the argument. Note, that this is only applied for the HTTP method POST.
initializeFileUploadDeletionConfigurationsFromRequest()  : void
Initializes file deletion configurations for properties of the given argument.
mapUploadedFilesToArgument()  : void
Maps and persists (if required) uploaded files for the given argument.

Constants

DELETE_IDENTIFIER

public mixed DELETE_IDENTIFIER = '@delete'

Properties

$eventDispatcher

protected EventDispatcherInterface $eventDispatcher

Methods

__construct()

public __construct(ReflectionService $reflectionService, ResourceFactory $resourceFactory, StorageRepository $storageRepository, DataMapFactory $dataMapFactory, EventDispatcherInterface $eventDispatcher, HashService $hashService, ExtensionService $extensionService) : mixed
Parameters
$reflectionService : ReflectionService
$resourceFactory : ResourceFactory
$storageRepository : StorageRepository
$dataMapFactory : DataMapFactory
$eventDispatcher : EventDispatcherInterface
$hashService : HashService
$extensionService : ExtensionService

initializeFileUploadConfigurationsFromRequest()

Initializes file upload configurations for all FileUpload properties of the argument. Note, that this is only applied for the HTTP method POST.

public initializeFileUploadConfigurationsFromRequest(RequestInterface $request, Arguments $arguments) : void
Parameters
$request : RequestInterface
$arguments : Arguments

initializeFileUploadDeletionConfigurationsFromRequest()

Initializes file deletion configurations for properties of the given argument.

public initializeFileUploadDeletionConfigurationsFromRequest(RequestInterface $request, Arguments $arguments) : void
Parameters
$request : RequestInterface
$arguments : Arguments

mapUploadedFilesToArgument()

Maps and persists (if required) uploaded files for the given argument.

public mapUploadedFilesToArgument(Argument $argument) : void
Parameters
$argument : Argument
On this page

Search results