Page::setTitle()   A
last analyzed

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 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