FileUpload

Tags
Annotation
Target

({"PROPERTY"})

Attributes
#[Attribute]
\Attribute::TARGET_PROPERTY

Table of Contents

Properties

$addRandomSuffix  : bool
$createUploadFolderIfNotExist  : bool
$duplicationBehavior  : DuplicationBehavior
$uploadFolder  : string
$validation  : array<string|int, mixed>

Methods

__construct()  : mixed

Properties

$addRandomSuffix

public bool $addRandomSuffix = true

$createUploadFolderIfNotExist

public bool $createUploadFolderIfNotExist = true

$uploadFolder

public string $uploadFolder = ''

$validation

public array<string|int, mixed> $validation = []
Tags
Required

Methods

__construct()

public __construct(array<string|int, mixed> $values) : mixed
Parameters
$values : array<string|int, mixed>

        
On this page

Search results