Gram::getStyle()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Cowglow\InstagramGallery\Domain;
4
5
/**
6
 * Class Gram
7
 * @package Cowglow\InstagramGallery\Domain
8
 */
9
class Gram extends AbstractEntity
10
{
11
12
    /**
13
     * @var array
14
     */
15
    protected $class;
16
17
    /**
18
     * @var string
19
     */
20
    protected $srcPath;
21
22
    /**
23
     * @var string
24
     */
25
    protected $src;
26
27
    /**
28
     * @var array
29
     */
30
    protected $config;
31
32
    /**
33
     * @var array
34
     */
35
    protected $style;
36
37
    /**
38
     * @return array
39
     */
40
    public function getClass(): array
41
    {
42
        return $this->class;
43
    }
44
45
    /**
46
     * @param array $class
47
     */
48
    public function setClass(array $class): void
49
    {
50
        $this->class = $class;
51
    }
52
53
    /**
54
     * @return string
55
     */
56
    public function getSrcPath(): string
57
    {
58
        return $this->srcPath;
59
    }
60
61
    /**
62
     * @param string $srcPath
63
     */
64
    public function setSrcPath(string $srcPath): void
65
    {
66
        $this->srcPath = $srcPath;
67
    }
68
69
    /**
70
     * @return string
71
     */
72
    public function getSrc(): string
73
    {
74
        return $this->src;
75
    }
76
77
    /**
78
     * @param string $src
79
     */
80
    public function setSrc(string $src): void
81
    {
82
        $this->src = $src;
83
    }
84
85
    /**
86
     * @return array
87
     */
88
    public function getConfig(): array
89
    {
90
        return $this->config;
91
    }
92
93
    /**
94
     * @param array $config
95
     */
96
    public function setConfig(array $config): void
97
    {
98
        $this->config = $config;
99
    }
100
101
    /**
102
     * @return array
103
     */
104
    public function getStyle(): array
105
    {
106
        return $this->style;
107
    }
108
109
    /**
110
     * @param array $style
111
     */
112
    public function setStyle(array $style): void
113
    {
114
        $this->style = $style;
115
    }
116
}
117