for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Totem package
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
* @copyright Baptiste Clavié <[email protected]>
* @license http://www.opensource.org/licenses/MIT-License MIT License
*/
namespace Totem;
* Base class for a Change
* @author Baptiste Clavié <[email protected]>
* @author Rémy Gazelot <[email protected]>
abstract class AbstractChange implements ChangeInterface
{
/** old state */
private $old;
/** new state */
private $new;
public function __construct($old, $new)
$this->old = $old;
$this->new = $new;
}
/** {@inheritDoc} */
public function getOld()
return $this->old;
public function getNew()
return $this->new;