src/Migration/AbstractMigration.php
<?php
/**
* Created by PhpStorm.
* User: vpoturaev
* Date: 8/25/15
* Time: 15:19
*/
namespace Yaoi\Migration;
use Yaoi\Log;
abstract class AbstractMigration implements Migration
{
protected $dryRun = false;
/** @var Log */
protected $log;
protected $id;
public function getId()
{
return $this->id;
}
public function setLog(Log $log = null)
{
$this->log = $log;
return $this;
}
public function setDryRun($yes = true)
{
$this->dryRun = $yes;
return $this;
}
}