trait PathTrait (View source)

Path helper trait.

Methods

setPath(string|null $path = null)

Set current base path (to add relative files to zip archive)

string|null
getPath()

Get current base path

Details

ZipInterface setPath(string|null $path = null)

Set current base path (to add relative files to zip archive)

Parameters

string|null $path

Return Value

ZipInterface

Exceptions

ZipException

string|null getPath()

Get current base path

Return Value

string|null