Completed
Push — master ( 8f4a48...4e9690 )
by Mathijs
02:34
created

RoutingKeyUnknown   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 19
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getValue() 0 4 1
A __toString() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: mathijs
5
 * Date: 28-9-16
6
 * Time: 21:16
7
 */
8
9
namespace mcorten87\rabbitmq_api\objects;
10
11
12
class RoutingKeyUnknown extends RoutingKey
13
{
14
    public function __construct()
15
    {
16
        parent::__construct('');
17
    }
18
19
    public function getValue(): string
20
    {
21
        return '';
22
    }
23
24
    public function __toString(): string
25
    {
26
        return '';
27
    }
28
29
30
}