Completed
Push — master ( b3a060...a91f17 )
by Maik
02:01
created

AbstractStreamInterceptor::onCreate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 2
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 1
1
<?php
2
/**
3
 * This file is part of the PHP Generics package.
4
 *
5
 * @package Generics
6
 */
7
namespace Generics\Streams\Interceptor;
8
9
/**
10
 * This abstract class provides a basic stream interceptor
11
 *
12
 * @author Maik Greubel <[email protected]>
13
 */
14
abstract class AbstractStreamInterceptor implements StreamInterceptor
15
{
16
17
    /**
18
     *
19
     * {@inheritdoc}
20
     * @see \Generics\Streams\Interceptor\StreamInterceptor::onClose()
21
     */
22 1
    public function onClose()
23 1
    {}
24
25
    /**
26
     *
27
     * {@inheritdoc}
28
     * @see \Generics\Streams\Interceptor\StreamInterceptor::onCreate()
29
     */
30 1
    public function onCreate()
31
    {}
32
}