Zend\File\Transfer\Adapter\AbstractAdapter::getFileName
Retrieves the filename of transferred files.
Signature
public function getFileName([string
$file = null,
[bool
$path = true]] )
Parameters
$file
— string- (Optional) Element to return the filename for
$path
— object- (Optional) Should the path also be returned ?
Returns
- string|array