Table of Contents
-
$allowedMimeTypes
: array<string|int, mixed>
-
isZipFile()
: bool
-
hasAllowedMimeType()
: mixed
-
hasZipExtension()
: bool
-
mimeType()
: mixed
$allowedMimeTypes
protected
static array<string|int, mixed>
$allowedMimeTypes
= ['application/zip', 'application/x-zip', 'application/x-gzip']
isZipFile()
public
isZipFile(Filesystem|null $disk, string $path) : bool
Parameters
-
$disk
: Filesystem|null
-
-
$path
: string
-
Return values
bool
—
hasAllowedMimeType()
protected
hasAllowedMimeType(Filesystem|null $disk, string $path) : mixed
Parameters
-
$disk
: Filesystem|null
-
-
$path
: string
-
Return values
mixed
—
hasZipExtension()
protected
hasZipExtension(string $path) : bool
Parameters
-
$path
: string
-
Return values
bool
—
mimeType()
protected
mimeType(Filesystem|null $disk, string $path) : mixed
Parameters
-
$disk
: Filesystem|null
-
-
$path
: string
-
Return values
mixed
—