Total Complexity | 5 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class CircuitRequest extends Connector |
||
6 | { |
||
7 | public function index() |
||
8 | { |
||
9 | return $this->get('circuits'); |
||
10 | } |
||
11 | |||
12 | public function show($circuit) |
||
13 | { |
||
14 | $id = get_id_from_variable($circuit); |
||
15 | |||
16 | return $this->get("circuits/{$id}"); |
||
17 | } |
||
18 | |||
19 | public function create(array $circuit) |
||
22 | } |
||
23 | |||
24 | public function update($circuit, array $newData) |
||
29 | } |
||
30 | |||
31 | public function drop($circuit) |
||
36 | } |
||
37 | } |
||
38 |