Completed
Pull Request — master (#8)
by Alexander
07:12
created

ReadUserBaseInfoQuery::getExceptionHandler()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
c 0
b 0
f 0
ccs 0
cts 3
cp 0
rs 10
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace linkprofit\Tracker\request;
4
5
use linkprofit\Tracker\exception\ReadUserBaseInfoExceptionHandler;
6
7
class ReadUserBaseInfoQuery extends BaseRoute
8
{
9
    /**
10
     * @var string|null
11
     */
12
    protected $userUrl = '/cabinet/user/read/base';
13
14
    /**
15
     * @var string|null
16
     */
17
    protected $adminUrl;
18
19
    /**
20
     * @var string
21
     */
22
    protected $method = 'PUT';
23
24
    /**
25
     * @return ReadUserBaseInfoExceptionHandler
26
     */
27
    public function getExceptionHandler()
28
    {
29
        return new ReadUserBaseInfoExceptionHandler();
30
    }
31
}
32