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