1 | <?php |
||
20 | class LogoutUserCommand implements CommandNamedInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $email; |
||
26 | |||
27 | /** |
||
28 | * LogoutUserCommand constructor. |
||
29 | * |
||
30 | * @param $email |
||
31 | */ |
||
32 | public function __construct($email) |
||
36 | |||
37 | /** |
||
38 | * @return string |
||
39 | */ |
||
40 | public function email() |
||
44 | |||
45 | /** |
||
46 | * @param string $email |
||
47 | */ |
||
48 | public function setEmail($email) |
||
52 | |||
53 | /** |
||
54 | * @return bool |
||
55 | */ |
||
56 | public function isLogin() |
||
60 | |||
61 | /** |
||
62 | * {@inheritdoc} |
||
63 | */ |
||
64 | public function name() |
||
68 | |||
69 | /** |
||
70 | * {@inheritdoc} |
||
71 | */ |
||
72 | public static function loadValidatorMetadata(ClassMetadata $classMetadata) |
||
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.