1 | <?php |
||
21 | class XFeatureCommand extends Command implements CommandInterface |
||
22 | { |
||
23 | const COMPRESS_GZIP = 'COMPRESS GZIP'; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | private $feature; |
||
29 | |||
30 | /** |
||
31 | * Constructor. |
||
32 | * |
||
33 | * @param string $feature The feature to enable |
||
34 | */ |
||
35 | 5 | public function __construct($feature) |
|
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | 1 | public function __invoke() |
|
49 | |||
50 | 1 | public function onXFeatureEnabled(Response $response) |
|
54 | } |
||
55 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.