Whitelist::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * This file is part of the theroadbunch/bouncer package.
4
 *
5
 * (c) Dan McAdams <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace RoadBunch\Bouncer;
12
13
14
use RoadBunch\String\NamedStringCollection;
15
16
/**
17
 * Class Whitelist
18
 *
19
 * @author  Dan McAdams
20
 * @package RoadBunch\Bouncer
21
 */
22
class Whitelist extends NamedStringCollection
23
{
24 4
    public function __construct(array $elements = [])
25
    {
26 4
        parent::__construct(Bouncer::WHITELIST, $elements);
27 4
    }
28
}
29