FetchEvents   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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