| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 77.78% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | final class TransactionPDOSqlite extends TransactionPDO |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Sets the isolation level of the current transaction. |
||
| 18 | * |
||
| 19 | * @param string $level The transaction isolation level to use for this transaction. This can be either |
||
| 20 | * {@see TransactionInterface::READ_UNCOMMITTED} or {@see TransactionInterface::SERIALIZABLE}. |
||
| 21 | * |
||
| 22 | * @throws Exception|InvalidConfigException|NotSupportedException|Throwable when unsupported isolation levels are |
||
| 23 | * used. SQLite only supports SERIALIZABLE and READ UNCOMMITTED. |
||
| 24 | * |
||
| 25 | * {@see http://www.sqlite.org/pragma.html#pragma_read_uncommitted} |
||
| 26 | */ |
||
| 27 | 2 | protected function setTransactionIsolationLevel(string $level): void |
|
| 43 |