| 1 | <?php |
||
| 8 | final class RemovedEntity implements Change |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var mixed |
||
| 12 | */ |
||
| 13 | private $originValue; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var Property |
||
| 17 | */ |
||
| 18 | private $property; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param Property $property |
||
| 22 | * @param $originValue |
||
| 23 | */ |
||
| 24 | public function __construct(Property $property, $originValue) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return mixed |
||
| 32 | */ |
||
| 33 | public function getOriginValue() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return mixed |
||
| 40 | */ |
||
| 41 | public function getNewValue() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return Property |
||
| 48 | */ |
||
| 49 | public function getProperty() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param $propertyName |
||
| 56 | * @return bool |
||
| 57 | */ |
||
| 58 | public function isFor($propertyName) |
||
| 62 | } |
||
| 63 |