Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

route_method_not_allowed.php
Go to the documentation of this file.
1 <?php
12 class ezpRouteMethodNotAllowedException extends ezcMvcToolsException
13 {
19 protected $allowedMethods = array();
20
26 public function __construct( array $allowedMethods = array() )
27 {
28 $this->allowedMethods = $allowedMethods;
29 parent::__construct(
30 "This method is not supported, allowed methods are: " . implode( ', ', $allowedMethods )
31 );
32 }
33
39 public function getAllowedMethods()
40 {
41 return $this->allowedMethods;
42 }
43
44 }
ezpRouteMethodNotAllowedException
Definition: route_method_not_allowed.php:13
ezpRouteMethodNotAllowedException\__construct
__construct(array $allowedMethods=array())
Definition: route_method_not_allowed.php:26
ezpRouteMethodNotAllowedException\$allowedMethods
$allowedMethods
Definition: route_method_not_allowed.php:19
ezpRouteMethodNotAllowedException\getAllowedMethods
getAllowedMethods()
Definition: route_method_not_allowed.php:39
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.