| 1 | <?php |
||
| 5 | class Country |
||
| 6 | { |
||
| 7 | /** @var string **/ |
||
| 8 | protected $name; |
||
| 9 | /** @var string **/ |
||
| 10 | protected $code; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param string $name |
||
| 14 | * @return \PhpAbac\Example\Country |
||
| 15 | */ |
||
| 16 | 6 | public function setName($name) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | public function getName() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $code |
||
| 33 | * @return \PhpAbac\Example\Country |
||
| 34 | */ |
||
| 35 | 6 | public function setCode($code) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | 3 | public function getCode() |
|
| 49 | } |
||
| 50 |