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