Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
27 | class PdoStatementResolver implements ResolverInterface |
||
28 | { |
||
29 | /** |
||
30 | * Prepared statement |
||
31 | * |
||
32 | * @var \PDOStatement |
||
33 | */ |
||
34 | protected $statement; |
||
35 | |||
36 | /** |
||
37 | * Constructor. |
||
38 | * |
||
39 | * @param \PDOStatement $statement A prepared statement to query the DB |
||
40 | */ |
||
41 | 9 | public function __construct(PDOStatement $statement) |
|
44 | 9 | } |
|
45 | |||
46 | /** |
||
47 | * {@inheritDoc} |
||
48 | */ |
||
49 | 9 | public function find(array $conditions): ?ArrayAccess |
|
66 |