Completed
Push — 1.x ( 770e50...c04239 )
by Théo
02:28 queued 01:12
created

A::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
rs 10
1
<?php
2
3
namespace DeepCopy\f008;
4
5
class A
6
{
7
    private $foo;
8
9
    public function __construct($foo)
10
    {
11
        $this->foo = $foo;
12
    }
13
14
    public function getFoo()
15
    {
16
        return $this->foo;
17
    }
18
}
19