$files->template()
Filter all files by the given template
Parameters
Name | Type | Default |
---|---|---|
$template * | null |string |array |
– |
Return type
This method does not modify the existing $files
object but returns a new object with the changes applied. Learn more →