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