Completed
Push — master ( 40c607...1c8f88 )
by Joachim
04:58
created

GetProductsRequest::getCommand()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 4
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
namespace Loevgaard\Consignor\ShipmentServer\Request;
3
4
use Loevgaard\Consignor\ShipmentServer\Response\GetProductsResponse;
5
6
class GetProductsRequest extends Request
7
{
8
    public function getCommand(): string
9
    {
10
        return RequestInterface::COMMAND_GET_PRODUCTS;
11
    }
12
13
    public function getResponseClass(): string
14
    {
15
        return GetProductsResponse::class;
16
    }
17
}
18