DriverFilteredSearchResult implements FileSearchResultInterface
Decorator for a search result with files, which filters the result based on given filters.
Table of Contents
Interfaces
- FileSearchResultInterface
- Representation of a result for a search for files performed by FileSearchQuery, which is a collection of matching files.
Methods
- __construct() : mixed
- count() : int
- current() : File
- key() : int
- next() : void
- rewind() : void
- valid() : bool
Methods
__construct()
public
__construct(FileSearchResultInterface $searchResult, DriverInterface $driver, array<string|int, mixed> $filters) : mixed
Parameters
- $searchResult : FileSearchResultInterface
- $driver : DriverInterface
- $filters : array<string|int, mixed>
count()
public
count() : int
Tags
Return values
intcurrent()
public
current() : File
Tags
Return values
Filekey()
public
key() : int
Tags
Return values
intnext()
public
next() : void
Tags
rewind()
public
rewind() : void
Tags
valid()
public
valid() : bool