1 | <?php |
||
22 | class AuthInfoCommand extends Command implements CommandInterface |
||
23 | { |
||
24 | const AUTHINFO_USER = 'USER'; |
||
25 | const AUTHINFO_PASS = 'PASS'; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | private $type; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | private $value; |
||
36 | |||
37 | 12 | public function __construct($type, $value) |
|
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | 1 | public function __invoke() |
|
52 | |||
53 | 1 | public function onAuthenticationAccepted(Response $response) |
|
57 | |||
58 | 1 | public function onPasswordRequired(Response $response) |
|
62 | |||
63 | 1 | public function onAuthenticationRejected(Response $response) |
|
67 | |||
68 | 1 | public function onAuthenticationOutOfSequence(Response $response) |
|
72 | } |
||
73 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.