| 1 | <?php |
||
| 15 | class Player |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $name; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var integer |
||
| 24 | */ |
||
| 25 | protected $number; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var float |
||
| 29 | */ |
||
| 30 | protected $height; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var boolean |
||
| 34 | */ |
||
| 35 | protected $regular; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getName() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param string $name |
||
| 47 | * |
||
| 48 | * @return $this |
||
| 49 | */ |
||
| 50 | public function setName($name) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return int |
||
| 59 | */ |
||
| 60 | public function getNumber() |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @param int $number |
||
| 67 | * |
||
| 68 | * @return $this |
||
| 69 | */ |
||
| 70 | public function setNumber($number) |
||
| 76 | |||
| 77 | /** |
||
| 78 | * @return float |
||
| 79 | */ |
||
| 80 | public function getHeight() |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @param float $height |
||
| 87 | * |
||
| 88 | * @return $this |
||
| 89 | */ |
||
| 90 | public function setHeight($height) |
||
| 96 | |||
| 97 | /** |
||
| 98 | * @return boolean |
||
| 99 | */ |
||
| 100 | public function isRegular() |
||
| 104 | |||
| 105 | /** |
||
| 106 | * @param boolean $regular |
||
| 107 | * |
||
| 108 | * @return $this |
||
| 109 | */ |
||
| 110 | public function setRegular($regular) |
||
| 116 | } |