| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class AuraSqlSlaveDbInterceptor implements MethodInterceptor |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * DB property name |
||
| 16 | */ |
||
| 17 | public const PROP = 'pdo'; |
||
| 18 | |||
| 19 | private ConnectionLocatorInterface $connectionLocator; |
||
| 20 | |||
| 21 | public function __construct(ConnectionLocatorInterface $connectionLocator) |
||
| 22 | { |
||
| 23 | $this->connectionLocator = $connectionLocator; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritDoc} |
||
| 28 | */ |
||
| 29 | public function invoke(MethodInvocation $invocation) |
||
| 38 | } |
||
| 39 | } |
||
| 40 |