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\Location;
use eZ\Publish\API\Repository\Values\Content\Location;
use eZ\Publish\Core\Event\AfterEvent;
final class HideLocationEvent extends AfterEvent
{
public const NAME = 'ezplatform.event.location.hide';
* @var \eZ\Publish\API\Repository\Values\Content\Location
private $hiddenLocation;
private $location;
public function __construct(
Location $hiddenLocation,
Location $location
) {
$this->location = $location;
$this->hiddenLocation = $hiddenLocation;
}
public function getHiddenLocation(): Location
return $this->hiddenLocation;
public function getLocation(): Location
return $this->location;