1 | <?php |
||
9 | class GetByIntegracaoIdRequest implements \JsonSerializable |
||
10 | { |
||
11 | /** |
||
12 | * @var integer |
||
13 | */ |
||
14 | private $integracaoId; |
||
15 | |||
16 | /** |
||
17 | * GetByIntegracaoIdRequest constructor. |
||
18 | */ |
||
19 | public function __construct() |
||
22 | |||
23 | /** |
||
24 | * @return int |
||
25 | */ |
||
26 | public function getIntegracaoId() |
||
30 | |||
31 | /** |
||
32 | * @param int $integracaoId |
||
33 | * @return GetByIntegracaoIdRequest |
||
34 | */ |
||
35 | public function setIntegracaoId($integracaoId) |
||
40 | |||
41 | /** |
||
42 | * @return array |
||
43 | */ |
||
44 | function jsonSerialize() |
||
50 | |||
51 | |||
52 | } |
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.