*/ class AuthorizationGranted implements Event { const EVENT_NAME = __CLASS__; /** * @var DeliveryExecution */ private $deliveryExecution; /** * @var User */ private $authorizer; /** * @param DeliveryExecution $deliveryExecution * @param User $authorizer */ public function __construct(DeliveryExecution $deliveryExecution, User $authorizer) { $this->deliveryExecution = $deliveryExecution; $this->authorizer = $authorizer; } /** * (non-PHPdoc) * @see \oat\oatbox\event\Event::getName() */ public function getName() { return self::EVENT_NAME; } /** * @return DeliveryExecution */ public function getDeliveryExecution() { return $this->deliveryExecution; } /** * @return User */ public function getAuthorizer() { return $this->authorizer; } }