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

Robot   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 40
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getOwner() 0 4 1
A setOwner() 0 4 1
A getHomepage() 0 4 1
A setHomepage() 0 4 1
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
}