original_string: public function get($key, $default = null) {
          if (strpos($key, '.') === false) {
              $value = isset($this->_data[$key]) ? $this->_data[$key] : null;
          } else {
              $value = Hash::get($this->_data, $key);
          }
  
          if ($value === null) {
              return $default;
          }
  
          return $value;
      }
code: public function get($key, $default = null) {
          if (strpos($key, '.') === false) {
              $value = isset($this->_data[$key]) ? $this->_data[$key] : null;
          } else {
              $value = Hash::get($this->_data, $key);
          }
  
          if ($value === null) {
              return $default;
          }
  
          return $value;
      }
code_tokens: public function get ( $ key , $ default = null ) { if ( strpos ( $ key , '.' ) === false ) { $ value = isset ( $ this -> _data [ $ key ] ) ? $ this -> _data [ $ key ] : null ; } else { $ value = Hash :: get ( $ this -> _data , $ key ) ; } if ( $ value === null ) { return $ default ; } return $ value ; }
docstring: Return a parameter by key.
  
  @uses Titon\Utility\Hash
  
  @param string $key
  @param mixed $default
  @return mixed
docstring_tokens: Return a parameter by key .