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

Role::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 2
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