Role   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 32
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
 * @codeCoverageIgnore
18
 */
19
final class Role
20
{
21
    /**
22
     * Manage all rates and execute any operation against rates
23
     */
24
    const MANAGE_RATE = 'ROLE_EXCHANGE_RATE_MANAGE';
25
26
    /**
27
     * See rates
28
     */
29
    const VIEW_RATE = 'ROLE_EXCHANGE_RATE_VIEW';
30
31
    /**
32
     * Create rate
33
     */
34
    const CREATE_RATE = 'ROLE_EXCHANGE_RATE_CREATE';
35
36
    /**
37
     * Edit rate
38
     */
39
    const EDIT_RATE = 'ROLE_EXCHANGE_RATE_EDIT';
40
41
    /**
42
     * Delete rate
43
     */
44
    const DELETE_RATE = 'ROLE_EXCHANGE_RATE_DELETE';
45
46
    private function __construct()
47
    {
48
        // noop
49
    }
50
}
51