Completed
Push — remove_installer_config ( 59aabf )
by André
32:16 queued 03:59
created

CleanInstaller::importData()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 6
rs 9.4286
c 1
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
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 importSchema()
14
    {
15
        $this->runQueriesFromFile(
16
            'vendor/ezsystems/ezpublish-kernel/data/mysql/schema.sql'
17
        );
18
    }
19
20
    public function importData()
21
    {
22
        $this->runQueriesFromFile(
23
            'vendor/ezsystems/ezpublish-kernel/data/cleandata.sql'
24
        );
25
    }
26
27
    public function importBinaries()
28
    {
29
    }
30
}
31