| Total Complexity | 5 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 15 | final class AuraSqlReplicationDbProvider implements ProviderInterface, SetContextInterface |
||
| 16 | { |
||
| 17 | private string $context = ''; |
||
| 18 | |||
| 19 | public function __construct(private readonly InjectorInterface $injector) |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * {@inheritDoc} |
||
| 25 | * |
||
| 26 | * @param string $context |
||
| 27 | */ |
||
| 28 | #[Override] |
||
| 29 | public function setContext($context): void |
||
| 30 | { |
||
| 31 | $this->context = $context; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritDoc} |
||
| 36 | */ |
||
| 37 | #[Override] |
||
| 44 | } |
||
| 45 | } |
||
| 46 |