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\Content;
use eZ\Publish\API\Repository\Values\Content\ContentInfo;
use eZ\Publish\Core\Event\BeforeEvent;
final class BeforeDeleteContentEvent extends BeforeEvent
{
public const NAME = 'ezplatform.event.content.delete.before';
* @var \eZ\Publish\API\Repository\Values\Content\ContentInfo
private $contentInfo;
public function __construct(ContentInfo $contentInfo)
$this->contentInfo = $contentInfo;
}
public function getContentInfo(): ContentInfo
return $this->contentInfo;