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

AbstractStreamInterceptor   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 19
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A onClose() 0 2 1
A onCreate() 0 2 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
}