Get::getRequest()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * Request Provider Class
6
 * @category    Ticaje
7
 * @author      Max Demian <[email protected]>
8
 */
9
10
namespace Ticaje\AeSdk\Domain\Endpoint\Solution\Freight\Template;
11
12
use Ticaje\Contract\Patterns\Interfaces\Pool\WorkerInterface;
13
use Ticaje\Contract\Traits\BaseDto;
14
15
use Ticaje\AeSdk\Infrastructure\Builder\ServiceRequestBuilder;
16
use Ticaje\AeSdk\Domain\Interfaces\Request\ServiceRequestInterface;
17
18
/**
19
 * Class Get
20
 * @package Ticaje\AeSdk\Domain\Endpoint\Solution\Freight\Template
21
 */
22
class Get implements ServiceRequestInterface, WorkerInterface
23
{
24
    use BaseDto, ServiceRequestBuilder;
25
26
    private $apiMethodName = 'aliexpress.freight.redefining.listfreighttemplate';
0 ignored issues
show
introduced by
The private property $apiMethodName is not used, and could be removed.
Loading history...
27
28
    /**
29
     * @inheritDoc
30
     * Empty request since contains no params according to AE policies
31
     */
32
    public function getRequest(): array
33
    {
34
        return [];
35
    }
36
}
37