ServiceExample::getLorem()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
/**
3
 * Copyright (C) 2018 Gerrit Addiks.
4
 * This package (including this file) was released under the terms of the GPL-3.0.
5
 * You should have received a copy of the GNU General Public License along with this program.
6
 * If not, see <http://www.gnu.org/licenses/> or send me a mail so i can send you a copy.
7
 * @license GPL-3.0
8
 * @author Gerrit Addiks <[email protected]>
9
 */
10
11
namespace Addiks\RDMBundle\Tests\Hydration;
12
13
class ServiceExample
14
{
15
16
    public function __construct(string $lorem, int $ipsum)
17
    {
18
        $this->lorem = $lorem;
19
        $this->ipsum = $ipsum;
20
    }
21
22
    /**
23
     * @var string
24
     */
25
    public $lorem;
26
27
    /**
28
     * @var integer
29
     */
30
    public $ipsum;
31
32
    public function getLorem($dolor = "")
33
    {
34
        return $this->lorem . $dolor;
35
    }
36
37
}
38