module/Settings/src/Settings/Entity/SettingsContainer.php 1 location
|
@@ 101-114 (lines=14) @@
|
| 98 |
|
); |
| 99 |
|
} |
| 100 |
|
|
| 101 |
|
public function __get($property) |
| 102 |
|
{ |
| 103 |
|
$getter = "get" . ucfirst($property); |
| 104 |
|
if (method_exists($this, $getter)) { |
| 105 |
|
return $this->$getter(); |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
if (property_exists($this, $property)) { |
| 109 |
|
return $this->$property; |
| 110 |
|
} |
| 111 |
|
|
| 112 |
|
return $this->get($property); |
| 113 |
|
|
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
public function __set($property, $value) |
| 117 |
|
{ |
module/Jobs/src/Jobs/Entity/TemplateValues.php 1 location
|
@@ 248-260 (lines=13) @@
|
| 245 |
|
return $this; |
| 246 |
|
} |
| 247 |
|
|
| 248 |
|
public function __get($property) |
| 249 |
|
{ |
| 250 |
|
$getter = "get" . ucfirst($property); |
| 251 |
|
if (method_exists($this, $getter)) { |
| 252 |
|
return $this->$getter(); |
| 253 |
|
} |
| 254 |
|
|
| 255 |
|
if (property_exists($this, $property)) { |
| 256 |
|
return $this->$property; |
| 257 |
|
} |
| 258 |
|
|
| 259 |
|
return $this->get($property); |
| 260 |
|
} |
| 261 |
|
|
| 262 |
|
public function __set($property, $value) |
| 263 |
|
{ |