StoragesAndMountsResponse   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 8
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
declare(strict_types = 1);
3
4
/*
5
 * This file is part of the package typo3/cms-digital-asset-management.
6
 *
7
 * For the full copyright and license information, please read the
8
 * LICENSE file that was distributed with this source code.
9
 */
10
11
namespace TYPO3\CMS\DigitalAssetManagement\Http;
12
13
use TYPO3\CMS\Core\Http\JsonResponse;
14
use TYPO3\CMS\DigitalAssetManagement\Entity\FileMount;
15
use TYPO3\CMS\DigitalAssetManagement\Entity\Storage;
16
17
/**
18
 * A 200 response object returned by controller
19
 * action getStoragesAndMountsAction(). Contains
20
 * an array of Storage or FileMount objects.
21
 *
22
 * @see Storage
23
 * @see FileMount
24
 */
25
class StoragesAndMountsResponse extends JsonResponse
26
{
27
    /**
28
     * @param Storage[]|FileMount[]
29
     */
30
    public function __construct(array $entities)
31
    {
32
        parent::__construct($entities);
33
    }
34
}
35