| @@ 115-124 (lines=10) @@ | ||
| 112 | /** |
|
| 113 | * @inheritdoc |
|
| 114 | */ |
|
| 115 | public function __get($name) |
|
| 116 | { |
|
| 117 | if (isset($this->attrStorage[$name])) { |
|
| 118 | return $this->attrStorage[$name]; |
|
| 119 | } |
|
| 120 | if (in_array($name, $this->attributes())) { |
|
| 121 | return ''; |
|
| 122 | } |
|
| 123 | return parent::__get($name); |
|
| 124 | } |
|
| 125 | ||
| 126 | /** |
|
| 127 | * @inheritdoc |
|
| @@ 141-150 (lines=10) @@ | ||
| 138 | /** |
|
| 139 | * @inheritdoc |
|
| 140 | */ |
|
| 141 | public function __get($name) |
|
| 142 | { |
|
| 143 | if (isset($this->attrStorage[$name])) { |
|
| 144 | return $this->attrStorage[$name]; |
|
| 145 | } |
|
| 146 | if (in_array($name, $this->attributes())) { |
|
| 147 | return ''; |
|
| 148 | } |
|
| 149 | return parent::__get($name); |
|
| 150 | } |
|
| 151 | ||
| 152 | /** |
|
| 153 | * @inheritdoc |
|