Completed
Push — master ( f17611...81469d )
by Nikola
04:23
created

Role   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 32
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/*
3
 * This file is part of the Exchange Rate Bundle, an RunOpenCode project.
4
 *
5
 * (c) 2017 RunOpenCode
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace RunOpenCode\Bundle\ExchangeRate\Enum;
11
12
/**
13
 * Class Role
14
 *
15
 * @package RunOpenCode\Bundle\ExchangeRate
16
 */
17
final class Role
18
{
19
    /**
20
     * Manage all rates and execute any operation against rates
21
     */
22
    const MANAGE_RATE = 'ROLE_EXCHANGE_RATE_MANAGE';
23
24
    /**
25
     * See rates
26
     */
27
    const VIEW_RATE = 'ROLE_EXCHANGE_RATE_VIEW';
28
29
    /**
30
     * Create rate
31
     */
32
    const CREATE_RATE = 'ROLE_EXCHANGE_RATE_CREATE';
33
34
    /**
35
     * Edit rate
36
     */
37
    const EDIT_RATE = 'ROLE_EXCHANGE_RATE_EDIT';
38
39
    /**
40
     * Delete rate
41
     */
42
    const DELETE_RATE = 'ROLE_EXCHANGE_RATE_DELETE';
43
44
    private function __construct()
45
    {
46
        // noop
47
    }
48
}
49