Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function __construct($entity, ChangeSet $changeSet) |
||
29 | { |
||
30 | if (!is_object($entity)) { |
||
31 | throw new InvalidArgumentException(sprintf("Edit command require object \"%s\" type passed.", gettype($entity))); |
||
32 | } |
||
33 | |||
34 | $this->entity = $entity; |
||
35 | $this->changeSet = $changeSet; |
||
36 | } |
||
37 | |||
58 |