Completed
Push — master ( 708efe...072588 )
by Nikola
04:22
created

FetchEvents::__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 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
c 1
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\Event;
11
12
/**
13
 * Class FetchEvent
14
 *
15
 * @package RunOpenCode\Bundle\ExchangeRate\Event
16
 */
17
final class FetchEvents
18
{
19
    /**
20
     * Rates are successfully fetched.
21
     */
22
    const SUCCESS = 'success';
23
24
    /**
25
     * There has been an error when fetching rates.
26
     */
27
    const ERROR = 'error';
28
29
    private function __construct()
30
    {
31
        // noop
32
    }
33
}
34