| 1 | <?php namespace SOSTheBlack\Moip; |
||
| 3 | class Environment { |
||
| 4 | /** |
||
| 5 | * base url |
||
| 6 | * |
||
| 7 | * @var string |
||
| 8 | */ |
||
| 9 | public $base_url; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * name of environment, sandbox or production |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | public $name; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * __construct() |
||
| 20 | * |
||
| 21 | * @param string $base_url |
||
| 22 | * @param string $name |
||
| 23 | * @return void |
||
|
|
|||
| 24 | */ |
||
| 25 | function __construct($base_url = '', $name = '') |
||
| 30 | } |
Adding a
@returnannotation 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.