Completed
Push — master ( 93afa7...aa0624 )
by Nikola
03: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 3
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;
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