Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

ParameterNotFoundException.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\MVC\Exception;
8
9 use InvalidArgumentException;
10
14 class ParameterNotFoundException extends InvalidArgumentException
15 {
16 public function __construct($paramName, $namespace, array $triedScopes = [])
17 {
18 $this->message = "Parameter '$paramName' with namespace '$namespace' could not be found.";
19 if (!empty($triedScopes)) {
20 $this->message .= ' Tried scopes: ' . implode(', ', $triedScopes);
21 }
22 }
23 }
eZ\Publish\Core\MVC\Exception\ParameterNotFoundException
This exception is thrown when a dynamic parameter could not be found in any scope.
Definition: ParameterNotFoundException.php:15
eZ\Publish\Core\MVC\Exception\ParameterNotFoundException\__construct
__construct($paramName, $namespace, array $triedScopes=[])
Definition: ParameterNotFoundException.php:16
eZ\Publish\Core\MVC\Exception
Definition: HiddenLocationException.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.