Page   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 31
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTitle() 0 4 1
A setTitle() 0 4 1
1
<?php
2
3
/**
4
 * Page
5
 */
6
7
namespace FRUIT\GoogleServices\Domain\Model;
8
9
/**
10
 * Page
11
 */
12
class Page extends AbstractModel
13
{
14
15
    /**
16
     * Title
17
     *
18
     * @var string
19
     * @validate NotEmpty
20
     */
21
    protected $title;
22
23
    /**
24
     * Get title
25
     *
26
     * @return string
27
     */
28
    public function getTitle()
29
    {
30
        return $this->title;
31
    }
32
33
    /**
34
     * Set title
35
     *
36
     * @param string $title
37
     */
38
    public function setTitle($title)
39
    {
40
        $this->title = $title;
41
    }
42
}
43