Method |
Description |
|
__construct ( array $fields, array $metadata = [] ) |
|
|
get ( string $name ) : string | null |
Fetch a string parameter (or null if it doesn't exist) |
|
getAll ( ) : array |
returns two associative fields and metadata arrays (like for extended abstractions or debug) |
|
getArray ( string $name ) : array |
Fetch an array parameter (or empty array if it doesn't exist) |
|
getMetadata ( string $name ) : array | null |
Contains an array("filename" => $name, "mime" => $mimetype)
Elements may be missing, but in case a filename is provided, mime is always set |
|
getMetadataArray ( string $name ) : array |
Fetch an array of metadata |
|
getNames ( ) : array |
Returns the names of the passed fields |
|