MessageChannel   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 5
Bugs 4 Features 0
Metric Value
wmc 2
c 5
b 4
f 0
lcom 0
cbo 0
dl 0
loc 19
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
A send() 0 3 1
1
<?php
2
3
namespace PEIP\Channel;
4
5
/*
6
 * This file is part of the PEIP package.
7
 * (c) 2009-2016 Timo Michna <timomichna/yahoo.de>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
/**
14
 * MessageChannel.
15
 *
16
 * @author Timo Michna <timomichna/yahoo.de>
17
 * @implements \PEIP\INF\Channel\Channel
18
 */
19
class MessageChannel implements \PEIP\INF\Channel\Channel
20
{
21
    /**
22
     * @return
23
     */
24
    public function getName()
25
    {
26
    }
27
28
    /**
29
     * @param $message
30
     * @param $timeout
31
     *
32
     * @return
33
     */
34
    public function send(\PEIP\INF\Message\Message $message, $timeout = -1)
35
    {
36
    }
37
}
38