Total Complexity | 2 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | final class Sql extends \SimpleSAML\Module\monitor\TestSuiteFactory |
||
14 | { |
||
15 | /** var string */ |
||
16 | private string $host; |
||
17 | |||
18 | |||
19 | /** |
||
20 | * @param \SimpleSAML\Module\monitor\TestConfiguration $configuration |
||
21 | */ |
||
22 | public function __construct(TestConfiguration $configuration) |
||
23 | { |
||
24 | $globalConfig = $configuration->getGlobalConfig(); |
||
25 | $this->host = $globalConfig->getString('store.sql.dsn'); |
||
26 | |||
27 | parent::__construct($configuration); |
||
28 | } |
||
29 | |||
30 | |||
31 | /** |
||
32 | * @return void |
||
33 | */ |
||
34 | public function invokeTest(): void |
||
50 | } |
||
51 | } |
||
52 |