Fully Qualified Name: | Zend\InputFilter\FileInput\FileInputDecoratorInterface |
FileInputInterface defines expected methods for filtering uploaded files.
FileInput will consume instances of this interface when filtering files, allowing it to switch between SAPI uploads and PSR-7 UploadedFileInterface instances.
Name | Description | Defined By |
---|---|---|
getValue() | FileInputDecoratorInterface | |
isEmptyFileDecorator() | Checks if the raw input value is an empty file input eg: no file was uploaded | FileInputDecoratorInterface |
isValid() | FileInputDecoratorInterface |
Returns: mixed
Checks if the raw input value is an empty file input eg: no file was uploaded
Parameter Name | Type | Description |
---|---|---|
$rawValue | ||
$rawValue |
Returns: bool
Parameter Name | Type | Description |
---|---|---|
$context | mixed | Extra |
Returns: bool