Conditions | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
19 | public function __construct(string $name = "default", string $htmlId = "menu") { |
||
20 | 1 | parent::__construct(); |
|
21 | 1 | $this->name = $name; |
|
22 | 1 | $this->htmlId = $htmlId; |
|
23 | 1 | $this->translator = new class implements ITranslator { |
|
|
|||
24 | public function translate($message, ... $parameters): string { |
||
25 | 1 | return $message; |
|
26 | } |
||
83 | ?> |
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.