| 1 | <?php |
||
| 9 | class ConsultaLoginRequest implements \JsonSerializable |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $cpfCnpj; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $senha; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Login constructor. |
||
| 23 | */ |
||
| 24 | public function __construct() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | public function getCpfCnpj() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $cpfCnpj |
||
| 38 | * @return Login |
||
| 39 | */ |
||
| 40 | public function setCpfCnpj($cpfCnpj) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function getSenha() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param string $senha |
||
| 56 | * @return Login |
||
| 57 | */ |
||
| 58 | public function setSenha($senha) |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return array |
||
| 66 | */ |
||
| 67 | function jsonSerialize() |
||
| 74 | |||
| 75 | |||
| 76 | } |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.