Completed
Push — master ( 8f8ae8...f1885b )
by Konstantin
14s
created

ReadUserBaseInfoQuery::getExceptionHandler()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
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 1
    public function getExceptionHandler()
28
    {
29 1
        return new ReadUserBaseInfoExceptionHandler();
30
    }
31
}
32