for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Zenstruck\ScheduleBundle\Event;
use Symfony\Contracts\EventDispatcher\Event;
use Zenstruck\ScheduleBundle\Schedule\Task\TaskRunContext;
/**
* @author Kevin Bond <[email protected]>
*/
abstract class TaskEvent extends Event
{
private $runContext;
final public function __construct(TaskRunContext $runContext)
$this->runContext = $runContext;
}
final public function runContext(): TaskRunContext
return $this->runContext;