Completed
Push — 4.0 ( 73f7eb...90ad36 )
by Serhii
02:22
created

Robot::getOwner()   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
namespace EndorphinStudio\Detector\Data;
4
5
class Robot extends AbstractData
6
{
7
    /**
8
     * @return string
9
     */
10
    public function getOwner(): string
11
    {
12
        return $this->owner;
13
    }
14
15
    /**
16
     * @param string $owner
17
     */
18
    public function setOwner(string $owner)
19
    {
20
        $this->owner = $owner;
21
    }
22
23
    /** @var string */
24
    protected $owner;
25
26
    /**
27
     * @return string
28
     */
29
    public function getHomepage(): string
30
    {
31
        return $this->homepage;
32
    }
33
34
    /**
35
     * @param string $homepage
36
     */
37
    public function setHomepage(string $homepage)
38
    {
39
        $this->homepage = $homepage;
40
    }
41
42
    /** @var string */
43
    protected $homepage;
44
}