| 1 | <?php |
||
| 20 | abstract class AbstractChange implements ChangeInterface |
||
| 21 | { |
||
| 22 | /** old state */ |
||
| 23 | private $old; |
||
| 24 | |||
| 25 | /** new state */ |
||
| 26 | private $new; |
||
| 27 | |||
| 28 | public function __construct($old, $new) |
||
| 33 | |||
| 34 | /** {@inheritDoc} */ |
||
| 35 | public function getOld() |
||
| 39 | |||
| 40 | /** {@inheritDoc} */ |
||
| 41 | public function getNew() |
||
| 45 | } |
||
| 46 | |||
| 47 |