Uuid   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 12
ccs 3
cts 3
cp 1
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * The Imaging Source Download System PHP Wrapper
6
 *
7
 * PHP wrapper for The Imaging Source Download System Web API. Authored and supported by The Imaging Source Europe GmbH.
8
 *
9
 * @link      http://dl-gui.theimagingsource.com to learn more about The Imaging Source Download System
10
 * @link      https://github.com/jonathanmaron/theimagingsource-tisd-sdk for the canonical source repository
11
 * @license   https://github.com/jonathanmaron/theimagingsource-tisd-sdk/blob/master/LICENSE.md
12
 * @copyright © 2022 The Imaging Source Europe GmbH
13
 */
14
15
namespace Tisd\Sdk\Validator;
16
17
use Tisd\Sdk\Lut\UuidToPackage as UuidToPackageLut;
18
19
/**
20
 * Class Uuid
21
 *
22
 * @package Tisd\Sdk\Validator
23
 */
24
class Uuid extends AbstractValidator
25
{
26
    /**
27
     * Uuid constructor
28
     *
29
     * @param array $options
30
     */
31 1
    public function __construct(array $options = [])
32
    {
33 1
        $lut = new UuidToPackageLut($options);
34
35 1
        $this->setHaystack($lut->getKeys());
36
    }
37
}
38