@@ 428-436 (lines=9) @@ | ||
425 | * @param $key |
|
426 | * @return mixed|null |
|
427 | */ |
|
428 | public function getOption($key) |
|
429 | { |
|
430 | $key = (string)$key; |
|
431 | if (!isset($this->_options[$key])) { |
|
432 | return null; |
|
433 | } |
|
434 | ||
435 | return $this->_options[$key]; |
|
436 | } |
|
437 | ||
438 | /** |
|
439 | * @return $this |
@@ 441-449 (lines=9) @@ | ||
438 | * @param $key |
|
439 | * @return null |
|
440 | */ |
|
441 | public function getOption($key) |
|
442 | { |
|
443 | $key = (string)$key; |
|
444 | if (!isset($this->_options[$key])) { |
|
445 | return null; |
|
446 | } |
|
447 | ||
448 | return $this->_options[$key]; |
|
449 | } |
|
450 | ||
451 | /** |
|
452 | * @param string $type |