UserLanguage   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
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 20
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
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\UserLanguage as RepoService;
9
use AbterPhp\Framework\Databases\Queries\FoundRows;
10
use Psr\Log\LoggerInterface;
11
12
class UserLanguage extends ApiAbstract
13
{
14
    public const ENTITY_SINGULAR = 'userLanguage';
15
    public const ENTITY_PLURAL   = 'userLanguages';
16
17
    /**
18
     * UserLanguage 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