Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
36 | 70 | public function __construct($name, $path, $rawDefinition, $status = 0, $steps = array(), $parsingError = null) |
|
37 | { |
||
38 | 70 | $this->name = $name; |
|
39 | 70 | $this->path = $path; |
|
40 | 70 | $this->rawDefinition = $rawDefinition; |
|
41 | 70 | $this->status = $status; |
|
42 | 70 | $this->steps = ($steps instanceof MigrationStepsCollection) ? $steps : new MigrationStepsCollection($steps); |
|
43 | 70 | $this->parsingError = $parsingError; |
|
44 | 70 | } |
|
45 | |||
63 |