1 | <?php |
||
23 | class ModuleConstructorMissing extends \RuntimeException |
||
24 | { |
||
25 | use AccessorTrait; |
||
26 | |||
27 | /** |
||
28 | * Identifier of the module. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | private $module_id; |
||
33 | |||
34 | /** |
||
35 | * @return string |
||
36 | */ |
||
37 | protected function get_module_id() |
||
41 | |||
42 | /** |
||
43 | * Class name of the module. |
||
44 | * |
||
45 | * @var string |
||
46 | */ |
||
47 | private $class; |
||
48 | |||
49 | /** |
||
50 | * @return string |
||
51 | */ |
||
52 | protected function get_class() |
||
56 | |||
57 | /** |
||
58 | * @param string $module_id |
||
59 | * @param string $class |
||
60 | * @param \Exception|int $code |
||
61 | * @param \Exception|null $previous |
||
62 | */ |
||
63 | public function __construct($module_id, $class, $code = Status::INTERNAL_SERVER_ERROR, \Exception $previous = null) |
||
75 | } |
||
76 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.