FileFormField
class FileFormField extendsFormField
FileFormField represents a file form field (an HTML file input tag).
Methods
void
setErrorCode(int$error)
Sets the PHP error code associated with the field.
void
upload(string|null$value)
Sets the value of the field.
void
setValue(string|null$value)
Sets the value of the field.
void
setFilePath(string$path)
Sets path to the file as string for simulating HTTP request.
void
initialize()
Initializes the form field.