| Total Complexity | 5 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class LogWrapper extends Wrapper |
||
| 12 | { |
||
| 13 | //-------------------------------------------------------------------------------------------------------------------- |
||
| 14 | /** |
||
| 15 | * @inheritdoc |
||
| 16 | */ |
||
| 17 | 1 | protected function getDocBlockReturnType(): string |
|
| 20 | } |
||
| 21 | |||
| 22 | //-------------------------------------------------------------------------------------------------------------------- |
||
| 23 | /** |
||
| 24 | * @inheritdoc |
||
| 25 | */ |
||
| 26 | 1 | protected function getReturnTypeDeclaration(): string |
|
| 29 | } |
||
| 30 | |||
| 31 | //-------------------------------------------------------------------------------------------------------------------- |
||
| 32 | /** |
||
| 33 | * @inheritdoc |
||
| 34 | */ |
||
| 35 | 1 | protected function writeResultHandler(): void |
|
| 36 | { |
||
| 37 | 1 | $this->throws(MySqlDataLayerException::class); |
|
| 38 | |||
| 39 | 1 | $routine_args = $this->getRoutineArgs(); |
|
| 40 | 1 | $this->codeStore->append('return $this->executeLog(\'call '.$this->routine['routine_name'].'('.$routine_args.')\');'); |
|
| 41 | 1 | } |
|
| 42 | |||
| 43 | //-------------------------------------------------------------------------------------------------------------------- |
||
| 44 | /** |
||
| 45 | * @inheritdoc |
||
| 46 | */ |
||
| 47 | protected function writeRoutineFunctionLobFetchData(): void |
||
| 48 | { |
||
| 49 | // Nothing to do. |
||
| 50 | } |
||
| 51 | |||
| 52 | //-------------------------------------------------------------------------------------------------------------------- |
||
| 53 | /** |
||
| 54 | * @inheritdoc |
||
| 55 | */ |
||
| 56 | protected function writeRoutineFunctionLobReturnData(): void |
||
| 58 | // Nothing to do. |
||
| 59 | } |
||
| 60 | |||
| 65 |