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