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

StrategyEnum

Complexity

Total Complexity 0

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 1
dl 0
loc 10
c 0
b 0
f 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