Skip to content

Util

  • Full name: \ZipStream\Test\Util

Methods

cmdExists

protected cmdExists(string $command): bool

Parameters:

Parameter Type Description
$command string

dumpZipContents

protected dumpZipContents(string $path): string

Parameters:

Parameter Type Description
$path string

validateAndExtractZip

protected validateAndExtractZip(string $zipPath): string

Parameters:

Parameter Type Description
$zipPath string

zipArchiveOpenErrorCodeName

protected zipArchiveOpenErrorCodeName(int $code): string

Parameters:

Parameter Type Description
$code int

getTmpDir

protected getTmpDir(): string

getRecursiveFileList

protected getRecursiveFileList(string $path, bool $includeDirectories = false): string[]

Parameters:

Parameter Type Description
$path string
$includeDirectories bool


Automatically generated on 2025-03-18