Completed
Pull Request — master (#6)
by Ondrej
02:53
created

StrategyEnum::FIRST_VOTE_DECIDES()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace SpareParts\Overseer;
3
4
use SpareParts\Enum\Enum;
5
6
/**
7
 * @method static FIRST_VOTE_DECIDES
8
 * @method static ALLOW_UNLESS_DENIED
9
 * @method static DENY_UNLESS_ALLOWED
10
 * @method static EVERYONE_MUST_ALLOW_TO_BE_ALLOWED
11
 * @method static EVERYONE_MUST_DENY_TO_BE_DENIED
12
 */
13
final class StrategyEnum extends Enum
14
{
15
    protected static $values = [
16
        'FIRST_VOTE_DECIDES',
17
        'ALLOW_UNLESS_DENIED',
18
        'DENY_UNLESS_ALLOWED',
19
        'EVERYONE_MUST_ALLOW_TO_BE_ALLOWED',
20
        'EVERYONE_MUST_DENY_TO_BE_DENIED',
21
    ];
22
}
23