mirror of
https://github.com/code-rhapsodie/ezmigrationbundle2.git
synced 2026-03-24 06:42:19 +01:00
35 lines
605 B
PHP
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;
|
|
}
|
|
}
|