Completed
Push — master ( 348067...ae37c1 )
by Zach
03:29 queued 01:39
created

MigrationCreator::failIfClassExists()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 9.4285
c 0
b 0
f 0
cc 2
eloc 4
nc 2
nop 1
1
<?php
2
3
namespace Yarak\Migrations;
4
5
use Yarak\Config\Config;
6
7
interface MigrationCreator
8
{
9
    /**
10
     * Construct.
11
     *
12
     * @param Config $config
13
     */
14
    public function __construct(Config $config);
15
16
    /**
17
     * Create a migration file.
18
     *
19
     * @param string $name
20
     * @param string $create
21
     *
22
     * @return string
23
     */
24
    public function create($name, $create = false);
25
}
26