ApiClient::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
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 7
rs 10
cc 1
nc 1
nop 4
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AbterPhp\Admin\Http\Controllers\Api;
6
7
use AbterPhp\Admin\Http\Controllers\ApiAbstract;
8
use AbterPhp\Admin\Service\Execute\ApiClient as RepoService;
9
use AbterPhp\Framework\Databases\Queries\FoundRows;
10
use Psr\Log\LoggerInterface;
11
12
class ApiClient extends ApiAbstract
13
{
14
    public const ENTITY_SINGULAR = 'apiClient';
15
    public const ENTITY_PLURAL   = 'apiClients';
16
17
    /**
18
     * ApiClient constructor.
19
     *
20
     * @param LoggerInterface $logger
21
     * @param RepoService     $repoService
22
     * @param FoundRows       $foundRows
23
     * @param string          $problemBaseUrl
24
     */
25
    public function __construct(
26
        LoggerInterface $logger,
27
        RepoService $repoService,
28
        FoundRows $foundRows,
29
        string $problemBaseUrl
30
    ) {
31
        parent::__construct($logger, $repoService, $foundRows, $problemBaseUrl);
32
    }
33
}
34