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