Passed
Push — master ( 97b1e7...36e7dc )
by Fabrice
02:16
created

FlowEventProxy::setNode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of NodalFlow.
5
 *     (c) Fabrice de Stefanis / https://github.com/fab2s/NodalFlow
6
 * This source file is licensed under the MIT license which you will
7
 * find in the LICENSE file or at https://opensource.org/licenses/MIT
8
 */
9
10
namespace fab2s\NodalFlow\Events;
11
12
if (class_exists('Symfony\Component\EventDispatcher\Event')) {
13
    class FlowEvent extends /* @scrutinizer ignore-deprecated */ \Symfony\Component\EventDispatcher\Event implements FlowEventInterface
14
    {
15
        use FlowEventProxyTrait;
16
    }
17
} else {
18
    class FlowEvent extends \Symfony\Contracts\EventDispatcher\Event implements FlowEventInterface
19
    {
20
        use FlowEventProxyTrait;
21
    }
22
}
23