| Total Complexity | 6 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class PdoQueueStoreConnection extends AbstractQueueStoreConnection |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * PdoQueueStoreConnection constructor. |
||
| 12 | * |
||
| 13 | * @param array $configuration |
||
| 14 | 4 | */ |
|
| 15 | public function __construct(array $configuration) |
||
| 16 | 4 | { |
|
| 17 | 4 | parent::__construct($configuration); |
|
| 18 | $this->defineConnectionString(); |
||
| 19 | } |
||
| 20 | |||
| 21 | protected function defineConnectionString() |
||
| 25 | 6 | } |
|
| 26 | 6 | } |
|
| 27 | 6 | ||
| 28 | 6 | /** |
|
| 29 | * @return PdoQueueStoreConnection |
||
| 30 | 6 | */ |
|
| 31 | 6 | public function connect() |
|
| 40 | } |
||
| 41 | 6 | ||
| 42 | /** |
||
| 43 | 6 | * Returns the connection instance. |
|
| 44 | 1 | * |
|
| 45 | 1 | * @return PDO |
|
| 46 | */ |
||
| 47 | 6 | public function getInstance() |
|
| 56 |