Passed
Push — master ( ffc38e...b6e1b7 )
by Peter
03:08
created

File   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

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