Passed
Push — master ( 68b87a...419ff0 )
by Siim
10:55
created

DefaultRequest::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: siim
5
 * Date: 18.01.19
6
 * Time: 9:10
7
 */
8
9
namespace Sf4\Api\Request;
10
11
use Sf4\Api\Dto\EmptyDto;
12
use Sf4\Api\Response\DefaultResponse;
13
use Sf4\Populator\PopulatorInterface;
14
15
class DefaultRequest extends AbstractRequest
16
{
17
    const ROUTE = 'api_default';
18
19
    public function __construct(DefaultResponse $response, EmptyDto $dto, PopulatorInterface $populator)
20
    {
21
        $this->init($response, $dto, $populator);
22
    }
23
}
24