Event::single()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * Event
5
 *
6
 * Generic event emitter-listener.
7
 *
8
 * @package core
9
 * @author [email protected]
10
 * @copyright Caffeina srl - 2015 - http://caffeina.com
11
 */
12
13
class Event {
14
    use Module, Events;
15
16
    public static function single($name,callable $listener){
17
        return static::onSingle($name,$listener);
18
    }
19
}
20