Foo   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A foo() 0 4 1
A baz() 0 4 1
A __get() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ProxyManagerTestAsset\RemoteProxy;
6
7
/**
8
 * Simple interface for a remote API
9
 *
10
 * @author Marco Pivetta <[email protected]>
11
 * @license MIT
12
 */
13
class Foo implements FooServiceInterface, BazServiceInterface
14
{
15
    /**
16
     * @return string
17
     */
18
    public function foo()
19
    {
20
        return 'bar remote';
21
    }
22
23
    /**
24
     * @param string $param
25
     *
26
     * @return string
27
     */
28
    public function baz($param)
29
    {
30
        return $param . ' remote';
31
    }
32
33
    /**
34
     * @param string $name
35
     *
36
     * @return string
37
     */
38
    public function __get($name)
39
    {
40
        return $name . ' remote';
41
    }
42
}
43