| 1 | <?php |
||
| 10 | class Bot |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * |
||
| 14 | * @var boolean |
||
| 15 | */ |
||
| 16 | private $isBot; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $name; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $type; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * |
||
| 32 | * @param boolean $mode |
||
| 33 | */ |
||
| 34 | 2 | public function setIsBot($mode) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * |
||
| 41 | * @return boolean |
||
| 42 | */ |
||
| 43 | 2 | public function getIsBot() |
|
| 47 | |||
| 48 | /** |
||
| 49 | * |
||
| 50 | * @param string $name |
||
| 51 | */ |
||
| 52 | 2 | public function setName($name) |
|
| 56 | |||
| 57 | /** |
||
| 58 | * |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | 2 | public function getName() |
|
| 65 | |||
| 66 | /** |
||
| 67 | * |
||
| 68 | * @param string $type |
||
| 69 | */ |
||
| 70 | 2 | public function setType($type) |
|
| 74 | |||
| 75 | /** |
||
| 76 | * @return string |
||
| 77 | */ |
||
| 78 | 2 | public function getType() |
|
| 82 | |||
| 83 | /** |
||
| 84 | * |
||
| 85 | * @return array |
||
| 86 | */ |
||
| 87 | 1 | public function toArray() |
|
| 95 | } |
||
| 96 |