Zend\File\Transfer\Adapter\AbstractAdapter::getFiles
Returns found files based on internal file array and given files
Signature
protected function getFiles(string|array
$files,
[bool
$names = false,
[bool
$noexception = false]] )
Parameters
$files
—
object
- (Optional) Files to return
$names
—
object
- (Optional) Returns only names on true, else complete info
$noexception
—
object
- (Optional) Allows throwing an exception, otherwise returns an empty array
Returns
- array
- Found files
Errors/Exceptions
-
RuntimeException
- On false filename