validateFileType
in
Interface for fiel type validation function
Tags
Table of Contents
- isValidType() : bool
- Must return true, if exext and mime type in $type matches
Methods
isValidType()
Must return true, if exext and mime type in $type matches
public
static isValidType(string $ext, string $type[, array<string|int, mixed> $map = [] ]) : bool
Parameters
- $ext : string
- $type : string
- $map : array<string|int, mixed> = []