Files
ezmigrationbundle2/API/Event/StepExecutedEvent.php
2021-01-28 22:37:45 +00: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;
}
}