AbstractStreamInterceptor::onClose()   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
 * 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
    {
24 1
    }
25
26
    /**
27
     *
28
     * {@inheritdoc}
29
     * @see \Generics\Streams\Interceptor\StreamInterceptor::onCreate()
30
     */
31 1
    public function onCreate()
32
    {
33 1
    }
34
}
35