| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | 21 | public function __construct( |
|
| 39 | Group $group, |
||
| 40 | $name, |
||
| 41 | $sizeX, |
||
| 42 | $sizeY, |
||
| 43 | $posX = null, |
||
| 44 | $posY = null |
||
| 45 | ) { |
||
| 46 | 21 | $this->group = $group; |
|
| 47 | 21 | $this->name = $name; |
|
| 48 | 21 | $this->sizeX = $sizeX; |
|
| 49 | 21 | $this->sizeY = $sizeY; |
|
| 50 | 21 | $this->posX = $posX; |
|
| 51 | 21 | $this->posY = $posY; |
|
| 52 | 21 | $this->id = uniqid("ml_", true); // originally: $this->id = spl_object_hash($this)... change back if needed |
|
| 53 | 21 | } |
|
| 54 | |||
| 111 |