| 1 | <?php |
||
| 8 | class DbalStorageProvider implements StorageProviderInterface |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var ConnectionFactoryInterface |
||
| 13 | */ |
||
| 14 | private $connectionFactory; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var \ArrayAccess |
||
| 18 | */ |
||
| 19 | private $queries; |
||
| 20 | |||
| 21 | public function __construct(ConnectionFactoryInterface $connectionFactory, \ArrayAccess $queries) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return DbalStorage |
||
| 29 | */ |
||
| 30 | public function storage(StorageSelection $selection) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return StorageSelection |
||
| 39 | */ |
||
| 40 | public function select($id = null) |
||
| 48 | |||
| 49 | } |
||
| 50 |