Get   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 2
b 0
f 0
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getRequest() 0 3 1
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