ReadCategoriesQuery   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 23
c 0
b 0
f 0
ccs 0
cts 2
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getExceptionHandler() 0 3 1
1
<?php
2
3
namespace linkprofit\Tracker\request;
4
use linkprofit\Tracker\exception\ReadCategoriesExceptionHandler;
5
6
/**
7
 * Class ReadCategoriesQuery
8
 *
9
 * @package linkprofit\Tracker\request
10
 */
11
class ReadCategoriesQuery extends BaseRoute
12
{
13
    /**
14
     * @var string|null
15
     */
16
    protected $userUrl = '/cabinet/user/read/all/categories';
17
18
    /**
19
     * @var string|null
20
     */
21
    protected $adminUrl = '/administration/categories/read';
22
23
    /**
24
     * @var string
25
     */
26
    protected $method = 'PUT';
27
28
    /**
29
     * @return ReadCategoriesExceptionHandler
30
     */
31
    public function getExceptionHandler()
32
    {
33
        return new ReadCategoriesExceptionHandler();
34
    }
35
}
36