Example #1
0
 /**
  * Returns the value for the given key.
  *
  * @param mixed $key key to get value of
  * @param mixed $default value to return if key doesn't exist
  *
  * @return mixed value for that key or default given
  */
 public function getOption($key, $default = null)
 {
     return $this->options->get($key, $default);
 }