Passed
Push — master ( b37186...7c51ba )
by Peter
04:28
created

ApiClient   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AbterPhp\Admin\Http\Controllers\Api;
6
7
use AbterPhp\Admin\Service\Execute\ApiClient as RepoService;
8
use AbterPhp\Framework\Http\Controllers\Admin\ApiAbstract;
9
use Psr\Log\LoggerInterface;
10
11
class ApiClient extends ApiAbstract
12
{
13
    const ENTITY_SINGULAR = 'apiClient';
14
    const ENTITY_PLURAL   = 'apiClients';
15
16
    /**
17
     * ApiClient constructor.
18
     *
19
     * @param LoggerInterface $logger
20
     * @param RepoService     $repoService
21
     */
22
    public function __construct(LoggerInterface $logger, RepoService $repoService)
23
    {
24
        parent::__construct($logger, $repoService);
25
    }
26
}
27