[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /* 4 * This file is part of JSON-API. 5 * 6 * (c) Toby Zerner <[email protected]> 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12 namespace Tobscure\JsonApi\Exception\Handler; 13 14 use Exception; 15 16 interface ExceptionHandlerInterface 17 { 18 /** 19 * If the exception handler is able to format a response for the provided exception, 20 * then the implementation should return true. 21 * 22 * @param \Exception $e 23 * 24 * @return bool 25 */ 26 public function manages(Exception $e); 27 28 /** 29 * Handle the provided exception. 30 * 31 * @param \Exception $e 32 * 33 * @return \Tobscure\JsonApi\Exception\Handler\ResponseBag 34 */ 35 public function handle(Exception $e); 36 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |