Passed
Push — master ( 5b5c00...4c0c12 )
by Julien
04:52
created

Rest::restForwarding()   B

Complexity

Conditions 7
Paths 5

Size

Total Lines 15
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 56

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 7
eloc 10
c 1
b 0
f 0
nc 5
nop 1
dl 0
loc 15
ccs 0
cts 10
cp 0
crap 56
rs 8.8333
1
<?php
2
3
/**
4
 * This file is part of the Zemit Framework.
5
 *
6
 * (c) Zemit Team <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE.txt
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Zemit\Mvc\Controller;
13
14
use Zemit\Mvc\Controller\Rest\Fractal;
15
use Zemit\Mvc\Controller\Rest\Response;
16
17
class Rest extends \Zemit\Mvc\Controller
18
{
19
    // Helpers
20
    use Debug;
21
    use Behavior;
0 ignored issues
show
introduced by
The trait Zemit\Mvc\Controller\Behavior requires some properties which are not provided by Zemit\Mvc\Controller\Rest: $eventType, $priority
Loading history...
22
    
23
    // Rest Helpers
24
    use Params;
25
    use Fractal;
26
    use Response;
27
}
28