Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | 5 | public function __construct(Request $request) |
|
22 | { |
||
23 | 5 | parent::__construct($request); |
|
24 | |||
25 | 5 | $this->actions->add('get', new Action(Request::METHOD_GET, 'users/%s.json', 'user', 'user')); |
|
26 | 5 | $this->actions->add('all', new Action(Request::METHOD_GET, 'users.json', 'users', 'users')); |
|
27 | 5 | $this->actions->add('current', new Action(Request::METHOD_GET, 'users/%s.json', 'user', 'user')); |
|
28 | 5 | } |
|
29 | } |
||
30 |