Interface FileInputDecoratorInterface

Summary

Fully Qualified Name: Zend\InputFilter\FileInput\FileInputDecoratorInterface

Description

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.

Methods

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

Method Details

getValue()

Returns: mixed

isEmptyFileDecorator()

Checks if the raw input value is an empty file input eg: no file was uploaded

Parameter Name Type Description
$rawValue
$rawValue

Returns: bool

isValid()

Parameter Name Type Description
$context mixed Extra

Returns: bool

Top