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.
*/
namespace eZ\Publish\Core\MVC\Exception;
use eZ\Publish\API\Repository\Values\Content\Location;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
class HiddenLocationException extends NotFoundHttpException
{
* @var \eZ\Publish\API\Repository\Values\Content\Location
private $location;
public function __construct(Location $location, $message = null, \Exception $previous = null, $code = 0)
$this->location = $location;
parent::__construct($message, $previous, $code);
}
* @return \eZ\Publish\API\Repository\Values\Content\Location
public function getLocation()
return $this->location;