1 | <?php |
||
22 | class LogoutUserCommand implements CommandNamedInterface |
||
23 | { |
||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $email; |
||
28 | |||
29 | /** |
||
30 | * LogoutUserCommand constructor. |
||
31 | * |
||
32 | * @param $email |
||
33 | */ |
||
34 | public function __construct($email) |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function email() |
||
46 | |||
47 | /** |
||
48 | * @param string $email |
||
49 | */ |
||
50 | public function setEmail($email) |
||
54 | |||
55 | /** |
||
56 | * @return bool |
||
57 | */ |
||
58 | public function isLogin() |
||
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | public function named() |
||
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | public static function loadValidatorMetadata(ClassMetadata $classMetadata) |
||
77 | } |
||
78 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.