Files
ezmigrationbundle/API/Event/StepExecutedEvent.php
2020-03-19 18:11:04 +01:00

35 lines
605 B
PHP

<?php
namespace Kaliop\eZMigrationBundle\API\Event;
use Symfony\Contracts\EventDispatcher\Event;
use Kaliop\eZMigrationBundle\API\Value\MigrationStep;
class StepExecutedEvent extends Event
{
protected $step;
protected $result;
public function __construct(MigrationStep $step, $result)
{
$this->step = $step;
$this->result = $result;
}
/**
* @return MigrationStep
*/
public function getStep()
{
return $this->step;
}
/**
* @return mixed
*/
public function getResult()
{
return $this->result;
}
}