Content   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getImageRatio() 0 4 1
A setImageRatio() 0 4 1
1
<?php
2
3
/**
4
 * Content.
5
 */
6
7
namespace HDNET\Focuspoint\Domain\Model;
8
9
use HDNET\Autoloader\Annotation\DatabaseField;
10
use HDNET\Autoloader\Annotation\DatabaseTable;
11
12
/**
13
 * Content.
14
 *
15
 * @DatabaseTable("tt_content")
16
 */
17
class Content extends AbstractModel
18
{
19
    /**
20
     * Image ratio.
21
     *
22
     * @var string
23
     * @DatabaseField(type="string")
24
     */
25
    protected $imageRatio;
26
27
    /**
28
     * Get image ratio.
29
     *
30
     * @return string
31
     */
32
    public function getImageRatio()
33
    {
34
        return $this->imageRatio;
35
    }
36
37
    /**
38
     * Set image ratio.
39
     *
40
     * @param string $imageRatio
41
     */
42
    public function setImageRatio($imageRatio)
43
    {
44
        $this->imageRatio = $imageRatio;
45
    }
46
}
47