| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | private function __construct() { |
||
| 24 | $connection = DriverManager::getConnection( array( |
||
| 25 | 'driver' => 'pdo_sqlite', |
||
| 26 | 'memory' => true, |
||
| 27 | ) ); |
||
| 28 | |||
| 29 | $this->factory = ServiceFactory::newFromConnection( $connection ); |
||
| 30 | |||
| 31 | $this->factory->newEntityStoreInstaller()->install(); |
||
| 32 | |||
| 33 | if ( defined( 'WIKIBASE_QUERYENGINE_VERSION' ) ) { |
||
| 34 | $this->factory->newQueryEngineInstaller()->install(); |
||
| 35 | } |
||
| 36 | |||
| 37 | $this->factory->newTermStoreInstaller()->install(); |
||
| 38 | } |
||
| 39 | |||
| 48 |