Completed
Push — master ( c432ac...8e117f )
by Mathijs
04:01
created

CallerObjectInfo   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getFile() 0 4 1
A __construct() 0 5 1
1
<?php
2
3
namespace mcorten87\rabbitmq_api\objects;
4
5
class CallerObjectInfo extends BaseObject
6
{
7
    protected $file;
8
9
    /**
10
     * @return string
11
     */
12
    public function getFile()
13
    {
14
        return $this->file;
15
    }
16
17
18
    public function __construct(string $file, string $value)
19
    {
20
        $this->file = $file;
21
        parent::__construct($value);
22
    }
23
}
24