| @@ 111-120 (lines=10) @@ | ||
| 108 | /** |
|
| 109 | * @inheritdoc |
|
| 110 | */ |
|
| 111 | public function __get($name) |
|
| 112 | { |
|
| 113 | if (isset($this->attrStorage[$name])) { |
|
| 114 | return $this->attrStorage[$name]; |
|
| 115 | } |
|
| 116 | if (in_array($name, $this->attributes())) { |
|
| 117 | return ''; |
|
| 118 | } |
|
| 119 | return parent::__get($name); |
|
| 120 | } |
|
| 121 | ||
| 122 | /** |
|
| 123 | * @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 |
|