1 | <?php namespace SOSTheBlack\Moip; |
||
11 | class Response { |
||
12 | |||
13 | /** |
||
14 | * [$response description] |
||
15 | * @var [type] |
||
16 | */ |
||
17 | private $response; |
||
18 | |||
19 | /** |
||
20 | * __construct |
||
21 | * |
||
22 | * @param string[] |
||
23 | * @return void |
||
|
|||
24 | */ |
||
25 | function __construct(array $response) |
||
29 | |||
30 | /** |
||
31 | * __get |
||
32 | * |
||
33 | * @param string $name |
||
34 | * @return null |
||
35 | */ |
||
36 | function __get($name) |
||
44 | } |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.