| 1 | <?php |
||
| 23 | class TokenFinder { |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var Collection |
||
| 27 | */ |
||
| 28 | private $collection; |
||
| 29 | |||
| 30 | |||
| 31 | /** |
||
| 32 | * @param Collection $collection |
||
| 33 | */ |
||
| 34 | 18 | public function __construct(Collection $collection) { |
|
| 35 | 18 | $this->collection = $collection; |
|
| 36 | 18 | } |
|
| 37 | |||
| 38 | |||
| 39 | /** |
||
| 40 | * @param QueryInterface $query |
||
| 41 | * @return Collection |
||
| 42 | */ |
||
| 43 | 18 | public function find(QueryInterface $query): Collection { |
|
| 52 | |||
| 53 | } |