1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace Cycle\ORM\Collection; |
||
6 | |||
7 | /** |
||
8 | * @template TCollection |
||
9 | */ |
||
10 | interface CollectionFactoryInterface |
||
11 | { |
||
12 | /** |
||
13 | * @return class-string|null |
||
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
14 | */ |
||
15 | public function getInterface(): ?string; |
||
16 | |||
17 | /** |
||
18 | * @param class-string<TCollection> $class |
||
0 ignored issues
–
show
|
|||
19 | */ |
||
20 | public function withCollectionClass(string $class): static; |
||
21 | |||
22 | /** |
||
23 | * @template TKey |
||
24 | * @template TValue of array|object |
||
25 | * |
||
26 | * @param iterable<TKey, TValue> $data |
||
27 | * |
||
28 | * @return TCollection |
||
0 ignored issues
–
show
The type
Cycle\ORM\Collection\TCollection was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths
Loading history...
|
|||
29 | * |
||
30 | * @psalm-return TCollection|iterable<TKey, TValue> |
||
31 | */ |
||
32 | public function collect(iterable $data): iterable; |
||
33 | } |
||
34 |