for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of the Extension "sf_event_mgt" for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*/
namespace DERHANSEN\SfEventMgt\Event;
use DERHANSEN\SfEventMgt\Controller\EventController;
use DERHANSEN\SfEventMgt\Domain\Model\Event;
use Psr\Http\Message\ServerRequestInterface;
/**
* This event is triggered after a registration has been cancelled
final class WaitlistMoveUpEvent
{
public function __construct(
private readonly Event $event,
private readonly EventController $eventController,
private readonly ServerRequestInterface $request,
private bool $processDefaultMoveUp = true
) {
}
public function getEvent(): Event
return $this->event;
public function getEventController(): EventController
return $this->eventController;
public function getProcessDefaultMoveUp(): bool
return $this->processDefaultMoveUp;
public function setProcessDefaultMoveUp(bool $processDefaultMoveUp): void
$this->processDefaultMoveUp = $processDefaultMoveUp;
public function getRequest(): ServerRequestInterface
return $this->request;