| 1 | <?php |
||
| 13 | class ClassWithMixedPropertiesAndAccessorMethods |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var mixed |
||
| 17 | */ |
||
| 18 | public $publicProperty = 'publicProperty'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var mixed |
||
| 22 | */ |
||
| 23 | protected $protectedProperty = 'protectedProperty'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var mixed |
||
| 27 | */ |
||
| 28 | private $privateProperty = 'privateProperty'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $name |
||
| 32 | * |
||
| 33 | * @return bool |
||
| 34 | */ |
||
| 35 | public function has($name) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param string $name |
||
| 42 | * |
||
| 43 | * @return mixed |
||
| 44 | */ |
||
| 45 | public function get($name) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param string $name |
||
| 52 | * @param mixed $value |
||
| 53 | * |
||
| 54 | * @return void |
||
| 55 | */ |
||
| 56 | public function set($name, $value) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param string $name |
||
| 63 | * |
||
| 64 | * @return void |
||
| 65 | */ |
||
| 66 | public function remove($name) |
||
| 70 | } |
||
| 71 |