1 | <?php |
||
16 | class MethodNotExistingException extends AbstractException |
||
17 | { |
||
18 | //<editor-fold desc="Fields"> |
||
19 | /** @var string */ |
||
20 | private $methodName; |
||
21 | |||
22 | /** @var string */ |
||
23 | private $className; |
||
24 | //</editor-fold desc="Fields"> |
||
25 | //<editor-fold desc="Constructor"> |
||
26 | |||
27 | /** |
||
28 | * MethodNotExistingException constructor. |
||
29 | * @param string $className |
||
30 | * @param string $methodName |
||
31 | */ |
||
32 | public function __construct(string $className, string $methodName) |
||
38 | //</editor-fold desc="Constructor"> |
||
39 | |||
40 | //<editor-fold desc="Public Methods"> |
||
41 | /** |
||
42 | * Gets a json representation of the exception |
||
43 | * @return array |
||
44 | */ |
||
45 | public function getJsonMessage() |
||
53 | //</editor-fold desc="Public Methods"> |
||
54 | } |