Completed
Pull Request — master (#139)
by
unknown
10:24
created

Review   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 38
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 3
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 38
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getUrl() 0 4 1
A getTitle() 0 4 1
A getFavIcon() 0 4 1
1
<?php
2
3
namespace Yandex\Market\Content\Models;
4
5
use Yandex\Common\Model;
6
7
class Review extends Model
8
{
9
    protected $url = null;
10
11
    protected $title = null;
12
13
    protected $favIcon = null;
14
15
    /**
16
     * Retrieve the url property
17
     *
18
     * @return string|null
19
     */
20
    public function getUrl()
21
    {
22
        return $this->url;
23
    }
24
25
    /**
26
     * Retrieve the title property
27
     *
28
     * @return string|null
29
     */
30
    public function getTitle()
31
    {
32
        return $this->title;
33
    }
34
35
    /**
36
     * Retrieve the favIcon property
37
     *
38
     * @return string|null
39
     */
40
    public function getFavIcon()
41
    {
42
        return $this->favIcon;
43
    }
44
}
45