FileUpload
-
#[Attribute]
-
\Attribute::TARGET_PROPERTY
Table of Contents
Properties
-
$addRandomSuffix
: bool
-
$createUploadFolderIfNotExist
: bool
-
$duplicationBehavior
: DuplicationBehavior
-
$uploadFolder
: string
-
$validation
: array<string|int, mixed>
Methods
-
__construct()
: mixed
-
containsDeprecatedConfiguration()
: bool
$addRandomSuffix
read-only
public
bool
$addRandomSuffix
$createUploadFolderIfNotExist
read-only
public
bool
$createUploadFolderIfNotExist
$duplicationBehavior
read-only
public
DuplicationBehavior
$duplicationBehavior
$uploadFolder
read-only
public
string
$uploadFolder
$validation
read-only
public
array<string|int, mixed>
$validation
__construct()
public
__construct(array<string|int, mixed> $validation[, string $uploadFolder = '' ][, bool $addRandomSuffix = true ][, bool $createUploadFolderIfNotExist = true ][, DuplicationBehavior $duplicationBehavior = DuplicationBehavior::REPLACE ]) : mixed
Parameters
-
$validation
: array<string|int, mixed>
-
-
$uploadFolder
: string
= ''
-
-
$addRandomSuffix
: bool
= true
-
-
$createUploadFolderIfNotExist
: bool
= true
-
-
$duplicationBehavior
: DuplicationBehavior
= DuplicationBehavior::REPLACE
-
containsDeprecatedConfiguration()
protected
containsDeprecatedConfiguration(array<string|int, mixed> $values) : bool
Parameters
-
$values
: array<string|int, mixed>
-