Completed
Push — master ( cf3a23...901aad )
by mw
8s
created

NullCallbackInstantiator::registerCallback()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 1
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 1
rs 10
cc 1
eloc 1
nc 1
nop 2
1
<?php
2
3
namespace Onoi\CallbackContainer;
4
5
/**
6
 * @license GNU GPL v2+
7
 * @since 1.0
8
 *
9
 * @author mwjames
10
 */
11
class NullCallbackInstantiator implements CallbackInstantiator {
12
13
	/**
14
	 * @since 1.0
15
	 *
16
	 * {@inheritDoc}
17
	 */
18
	public function registerCallback( $handlerName, \Closure $callback ) {}
19
20
	/**
21
	 * @since 1.1
22
	 *
23
	 * {@inheritDoc}
24
	 */
25
	public function registerCallbackContainer( CallbackContainer $callbackContainer ) {}
26
27
	/**
28
	 * @since 1.0
29
	 *
30
	 * {@inheritDoc}
31
	 */
32
	public function registerExpectedReturnType( $handlerName, $type ) {}
33
34
	/**
35
	 * @since 1.2
36
	 *
37
	 * {@inheritDoc}
38
	 */
39
	public function create( $handlerName ) {}
40
41
	/**
42
	 * @since 1.0
43
	 *
44
	 * {@inheritDoc}
45
	 */
46
	public function singleton( $handlerName ) {}
47
48
}
49