1 | <?php |
||
22 | abstract class AbstractEmptyCommand implements Command |
||
23 | { |
||
24 | use ImmutabilityBehaviour, ScalarPayloadBehaviour { |
||
25 | ScalarPayloadBehaviour::__call insteadof ImmutabilityBehaviour; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * AbstractEmptyCommand constructor. |
||
30 | */ |
||
31 | final protected function __construct() |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | * |
||
39 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
||
40 | */ |
||
41 | final public static function reconstitute(array $parameters) |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | * |
||
49 | * @return string[] |
||
50 | */ |
||
51 | final protected function getAllowedInterfaces(): array |
||
55 | } |
||
56 |