mirror of
https://github.com/code-rhapsodie/dataflow-bundle.git
synced 2026-04-29 09:03:09 +02:00
32 lines
493 B
PHP
32 lines
493 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace CodeRhapsodie\DataflowBundle\Event;
|
|
|
|
use CodeRhapsodie\DataflowBundle\Entity\Job;
|
|
|
|
/**
|
|
* Event used during the dataflow lifecycle.
|
|
*
|
|
* @codeCoverageIgnore
|
|
*/
|
|
class ProcessingEvent extends CrEvent
|
|
{
|
|
/** @var Job */
|
|
private $job;
|
|
|
|
/**
|
|
* ProcessingEvent constructor.
|
|
*/
|
|
public function __construct(Job $job)
|
|
{
|
|
$this->job = $job;
|
|
}
|
|
|
|
public function getJob(): Job
|
|
{
|
|
return $this->job;
|
|
}
|
|
}
|