Get   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 5
c 1
b 0
f 0
dl 0
loc 11
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\Schema;
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\Order
21
 */
22
class Get implements ServiceRequestInterface, WorkerInterface
23
{
24
    use BaseDto, ServiceRequestBuilder;
25
26
    private $apiMethodName = 'aliexpress.solution.product.schema.get';
0 ignored issues
show
introduced by
The private property $apiMethodName is not used, and could be removed.
Loading history...
27
28
    private $aliexpressCategoryId;
0 ignored issues
show
introduced by
The private property $aliexpressCategoryId is not used, and could be removed.
Loading history...
29
30
    public function getRequest(): array
31
    {
32
        return $this->build();
33
    }
34
}
35