Test Failed
Push — master ( 299cbe...c555d0 )
by Maxim
01:58
created

Man   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 19
c 0
b 0
f 0
rs 10
1
<?php
2
/**
3
 * This file is a part of "Axessors" library.
4
 *
5
 * @author <[email protected]>
6
 * @package NoOne4rever\Axessors
7
 * @license GPL
8
 */
9
10
namespace NoOne4rever\Axessors\Examples;
11
12
use NoOne4rever\Axessors\Axessors;
13
14
/**
15
 * Class Man.
16
 *
17
 * Stores information about a man.
18
 *
19
 * @method string getName() getter for name
20
 * @method string getSurname() getter for surname
21
 * @method void setName(string $name) setter for name
22
 * @method void setSurname(string $name) setter for surname
23
 */
24
class Man
25
{
26
    use Axessors;
27
28
    /** @var string name */
29
    protected $name; #> +axs string
30
    /** @var string second name */
31
    protected $surname; #> +axs string
32
33
    /**
34
     * Man constructor.
35
     *
36
     * @param string $name name
37
     * @param string $surname second name
38
     */
39
    public function __construct(string $name, string $surname)
40
    {
41
        $this->name = $name;
42
        $this->surname = $surname;
43
    }
44
}