NullEventListener::isPropagationStopped()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Onoi\EventDispatcher\Listener;
4
5
use Onoi\EventDispatcher\EventListener;
6
use Onoi\EventDispatcher\DispatchContext;
7
8
/**
9
 * @license GNU GPL v2+
10
 * @since 1.0
11
 *
12
 * @author mwjames
13
 */
14
class NullEventListener implements EventListener {
15
16
	/**
17
	 * @since 1.0
18
	 *
19
	 * {@inheritDoc}
20
	 */
21
	public function execute( DispatchContext $dispatchContext = null ) {}
22
23
	/**
24
	 * @since 1.0
25
	 *
26
	 * {@inheritDoc}
27
	 */
28 1
	public function isPropagationStopped() {
29 1
		return false;
30
	}
31
32
}
33