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\Domain\Model\Registration;
use DERHANSEN\SfEventMgt\Service\RegistrationService;
/**
* This event is triggered after a registration moved from the waitlist
final class AfterRegistrationMovedFromWaitlist
{
* @var Registration
private $registration;
* @var RegistrationService
private $registrationService;
public function __construct(Registration $registration, RegistrationService $registrationService)
$this->registration = $registration;
$this->registrationService = $registrationService;
}
* @return Registration
public function getRegistration(): Registration
return $this->registration;
* @return RegistrationService
public function getRegistrationService(): RegistrationService
return $this->registrationService;