Groups   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 1
b 0
f 0
dl 0
loc 9
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\Product\Get;
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 Groups
20
 * @package Ticaje\AeSdk\Domain\Endpoint\Solution\Product\Get
21
 */
22
class Groups implements ServiceRequestInterface, WorkerInterface
23
{
24
    use BaseDto, ServiceRequestBuilder;
25
26
    private $apiMethodName = 'aliexpress.postproduct.redefining.getproductgrouplist';
0 ignored issues
show
introduced by
The private property $apiMethodName is not used, and could be removed.
Loading history...
27
28
    public function getRequest(): array
29
    {
30
        return $this->build();
31
    }
32
}
33