Completed
Push — master ( 3d86a4...f2c5a1 )
by Igor C. de
11:37
created

makeEvent()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 2
rs 10
c 1
b 0
f 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: igor
5
 * Date: 16/08/18
6
 * Time: 16:43
7
 */
8
use AdminWeb\PayerPagSeguro\States\FactoryState;
9
use AdminWeb\PayerPagSeguro\Events\FactoryEvent;
10
11
if(!function_exists('makeState')){
12
    function makeState($state){
13
        return FactoryState::get($state);
14
    }
15
}
16
17
if(!function_exists('makeEvent')){
18
    function makeEvent($event){
19
        return FactoryEvent::get($event);
20
    }
21
}
22