| Total Complexity | 10 |
| Total Lines | 106 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 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 |
||
| 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 |
||
| 99 | } |
||
| 100 | |||
| 101 | /** |
||
| 102 | * @return array |
||
| 103 | */ |
||
| 104 | public function getStyle(): array |
||
| 107 | } |
||
| 108 | |||
| 109 | /** |
||
| 110 | * @param array $style |
||
| 111 | */ |
||
| 112 | public function setStyle(array $style): void |
||
| 115 | } |
||
| 116 | } |
||
| 117 |