1 | <?php |
||
5 | class Country { |
||
6 | /** @var string **/ |
||
7 | protected $name; |
||
8 | /** @var string **/ |
||
9 | protected $code; |
||
10 | |||
11 | /** |
||
12 | * @param string $name |
||
13 | * @return \PhpAbac\Example\Country |
||
14 | */ |
||
15 | 8 | public function setName($name) { |
|
20 | |||
21 | /** |
||
22 | * @return string |
||
23 | */ |
||
24 | public function getName() { |
||
27 | |||
28 | /** |
||
29 | * @param string $code |
||
30 | * @return \PhpAbac\Example\Country |
||
31 | */ |
||
32 | 8 | public function setCode($code) { |
|
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | 4 | public function getCode() { |
|
44 | } |