1 | <?php |
||
8 | class Character extends AbstractApi |
||
9 | { |
||
10 | public function __construct(Client $client) |
||
24 | |||
25 | /** |
||
26 | * Get origin of characters |
||
27 | * |
||
28 | * @param mixed $id |
||
29 | * @return mixed |
||
30 | */ |
||
31 | public function getOrigin($id = null) |
||
35 | |||
36 | /** |
||
37 | * Get location of characters |
||
38 | * |
||
39 | * @param mixed $id |
||
40 | * @return mixed |
||
41 | */ |
||
42 | public function getLocation($id = null) |
||
46 | |||
47 | /** |
||
48 | * Query to filter dead characters |
||
49 | * |
||
50 | * @return $this |
||
51 | */ |
||
52 | public function isDead() |
||
58 | |||
59 | /** |
||
60 | * Query to filter alive characters |
||
61 | * |
||
62 | * @return $this |
||
63 | */ |
||
64 | public function isAlive() |
||
70 | |||
71 | /** |
||
72 | * Query to filter characters with unknown status |
||
73 | * |
||
74 | * @return $this |
||
75 | */ |
||
76 | public function isStatusUnknown() |
||
82 | |||
83 | /** |
||
84 | * Query to filter female characters |
||
85 | * |
||
86 | * @return $this |
||
87 | */ |
||
88 | public function isFemale() |
||
94 | |||
95 | /** |
||
96 | * Query to filter male characters |
||
97 | * |
||
98 | * @return $this |
||
99 | */ |
||
100 | public function isMale() |
||
106 | |||
107 | /** |
||
108 | * Query to filter genderless characters |
||
109 | * |
||
110 | * @return $this |
||
111 | */ |
||
112 | public function isGenderless() |
||
118 | |||
119 | /** |
||
120 | * Query to filter characters with unknown gender |
||
121 | * |
||
122 | * @return $this |
||
123 | */ |
||
124 | public function isGenderUnknown() |
||
130 | } |
||
131 |