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\AfterEvent;
final class DeleteTranslationEvent extends AfterEvent
{
public const NAME = 'ezplatform.event.translation.delete';
* @var \eZ\Publish\API\Repository\Values\Content\ContentInfo
private $contentInfo;
private $languageCode;
public function __construct(
ContentInfo $contentInfo,
$languageCode
) {
$this->contentInfo = $contentInfo;
$this->languageCode = $languageCode;
}
public function getContentInfo(): ContentInfo
return $this->contentInfo;
public function getLanguageCode()
return $this->languageCode;