Completed
Push — remove_installer_config ( 82898d...d094bb )
by André
24:33
created

CleanInstaller   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 24
rs 10
c 1
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A createConfiguration() 0 3 1
A importSchema() 0 6 1
A importData() 0 6 1
A importBinaries() 0 3 1
1
<?php
2
3
/**
4
 * This file is part of the eZ Publish Kernel package.
5
 *
6
 * @copyright Copyright (C) eZ Systems AS. All rights reserved.
7
 * @license For full copyright and license information view LICENSE file distributed with this source code.
8
 */
9
namespace EzSystems\PlatformInstallerBundle\Installer;
10
11
class CleanInstaller extends DbBasedInstaller implements Installer
12
{
13
    public function createConfiguration()
14
    {
15
    }
16
17
    public function importSchema()
18
    {
19
        $this->runQueriesFromFile(
20
            'vendor/ezsystems/ezpublish-kernel/data/mysql/schema.sql'
21
        );
22
    }
23
24
    public function importData()
25
    {
26
        $this->runQueriesFromFile(
27
            'vendor/ezsystems/ezpublish-kernel/data/cleandata.sql'
28
        );
29
    }
30
31
    public function importBinaries()
32
    {
33
    }
34
}
35