Completed
Push — master ( 93afa7...aa0624 )
by Nikola
03: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 3
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;
11
12
final class Role
13
{
14
    /**
15
     * Manage all rates and execute any operation against rates
16
     */
17
    const MANAGE_RATE = 'ROLE_EXCHANGE_RATE_MANAGE';
18
19
    /**
20
     * See rates
21
     */
22
    const VIEW_RATE = 'ROLE_EXCHANGE_RATE_VIEW';
23
24
    /**
25
     * Create rate
26
     */
27
    const CREATE_RATE = 'ROLE_EXCHANGE_RATE_CREATE';
28
29
    /**
30
     * Edit rate
31
     */
32
    const EDIT_RATE = 'ROLE_EXCHANGE_RATE_EDIT';
33
34
    /**
35
     * Delete rate
36
     */
37
    const DELETE_RATE = 'ROLE_EXCHANGE_RATE_DELETE';
38
39
    private function __construct()
40
    {
41
        // noop
42
    }
43
}
44