Completed
Push — master ( 0f5459...b9fce4 )
by Max
01:22
created

DummyModel::getSomeString()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 *  @copyright (c) 2019 Mendel <[email protected]>
5
 *  @license see license.txt
6
 */
7
8
namespace drycart\data\tests\dummy;
9
10
use drycart\data\HydratableInterface;
11
use drycart\data\HydratableTrait;
12
/**
13
 * Description of DummyModel
14
 *
15
 * @author mendel
16
 */
17
class DummyModel implements HydratableInterface
18
{
19
    use HydratableTrait;
20
    
21
    /**
22
     * @var string name
23
     */
24
    public $name;
25
    
26
    /**
27
     * @var int age
28
     */
29
    public $age;
30
        
31
    public function getSomeString() : string
32
    {
33
        return 'some string';
34
    }
35
36
}
37