| @@ 155-165 (lines=11) @@ | ||
| 152 | return isset($this->attributes[$attributeName]) && is_string($this->attributes[$attributeName]); |
|
| 153 | } |
|
| 154 | ||
| 155 | private function get($attributeName) |
|
| 156 | { |
|
| 157 | $value = null; |
|
| 158 | ||
| 159 | if($this->has($attributeName)) |
|
| 160 | { |
|
| 161 | $value = $this->attributes[$attributeName]; |
|
| 162 | } |
|
| 163 | ||
| 164 | return $value; |
|
| 165 | } |
|
| 166 | ||
| 167 | private function getString($attributeName) |
|
| 168 | { |
|
| @@ 167-177 (lines=11) @@ | ||
| 164 | return $value; |
|
| 165 | } |
|
| 166 | ||
| 167 | private function getString($attributeName) |
|
| 168 | { |
|
| 169 | $value = null; |
|
| 170 | ||
| 171 | if($this->hasString($attributeName)) |
|
| 172 | { |
|
| 173 | $value = $this->attributes[$attributeName]; |
|
| 174 | } |
|
| 175 | ||
| 176 | return $value; |
|
| 177 | } |
|
| 178 | } |
|
| 179 | ||