for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Paraunit\Lifecycle;
use Paraunit\Process\AbstractParaunitProcess;
use Symfony\Component\EventDispatcher\Event;
/***
* Class ProcessEvent
* @package Paraunit\Lifecycle
*/
class ProcessEvent extends Event
{
const PROCESS_STARTED = 'process_event.process_started';
const PROCESS_TERMINATED = 'process_event.process_terminated';
const PROCESS_TO_BE_RETRIED = 'process_event.process_to_be_retried';
const PROCESS_PARSING_COMPLETED = 'process_event.process_parsing_completed';
/** @var AbstractParaunitProcess */
private $process;
public function __construct(AbstractParaunitProcess $process)
$this->process = $process;
}
public function getProcess(): AbstractParaunitProcess
return $this->process;