1 | <?php |
||
14 | class Dbal implements ProviderInterface |
||
15 | { |
||
16 | use IdentificationTrait; |
||
17 | |||
18 | const LIMIT = 100; |
||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private $id; |
||
23 | /** |
||
24 | * @var Connection |
||
25 | */ |
||
26 | private $connection; |
||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | private $table; |
||
31 | |||
32 | 2 | public function __construct(string $id, Connection $connection, string $table) |
|
38 | |||
39 | /** |
||
40 | * @return \Generator|DataBagInterface[] |
||
41 | */ |
||
42 | 1 | public function getCask(): \Generator |
|
66 | |||
67 | /** |
||
68 | * @inheritdoc |
||
69 | * @throws \Doctrine\DBAL\DBALException |
||
70 | */ |
||
71 | 1 | public function getEstimatedSize(): int |
|
79 | } |
||
80 |