[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/router/src/Exception/ -> MethodNotAllowedException.php (summary)

Part of the Joomla Framework Router Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 52 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MethodNotAllowedException:: (2 methods):
  __construct()
  getAllowedMethods()


Class: MethodNotAllowedException  - X-Ref

Exception defining a method not allowed error.

__construct(array $allowedMethods, $message = null, $code = 405, \Exception $previous = null)   X-Ref
Constructor.

param: array       $allowedMethods  The allowed methods for the route.
param: null        $message         The Exception message to throw.
param: integer     $code            The Exception code.
param: \Exception  $previous        The previous throwable used for the exception chaining.

getAllowedMethods()   X-Ref
Gets the allowed HTTP methods.

return: array



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer