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\ScheduleRunContext;
/**
* @author Kevin Bond <[email protected]>
*/
abstract class ScheduleEvent extends Event
{
private $runContext;
final public function __construct(ScheduleRunContext $runContext)
$this->runContext = $runContext;
}
final public function runContext(): ScheduleRunContext
return $this->runContext;