| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class InMemoryDriver implements DriverInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * InMemoryDriver constructor. |
||
| 19 | */ |
||
| 20 | public function __construct() |
||
| 21 | { |
||
| 22 | $this->connect(); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @codeCoverageIgnore |
||
| 27 | * |
||
| 28 | * @return bool |
||
| 29 | */ |
||
| 30 | public function check() |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return bool |
||
| 37 | */ |
||
| 38 | public function connect() |
||
| 39 | { |
||
| 40 | return true; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return mixed |
||
| 45 | */ |
||
| 46 | public function instance() |
||
| 49 | } |
||
| 50 | } |
||
| 51 |