for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
declare(strict_types=1);
namespace eZ\Publish\Core\Event\Notification;
use eZ\Publish\API\Repository\Values\Notification\Notification;
use eZ\Publish\Core\Event\BeforeEvent;
final class BeforeMarkNotificationAsReadEvent extends BeforeEvent
{
public const NAME = 'ezplatform.event.notification.mark_as_read.before';
* @var \eZ\Publish\API\Repository\Values\Notification\Notification
private $notification;
public function __construct(Notification $notification)
$this->notification = $notification;
}
public function getNotification(): Notification
return $this->notification;