original_string: public function get($key = null, $default = null)
  	{
  		$return = $this->data;
  
  		if ($key !== null) {
  			$keys = explode('.', $key);
  
  			foreach ($keys as $key) {
  				if (isset($return[(string) $key])) {
  					$return = $return[$key];
  				} else {
  					$return = $default;
  					break;
  				}
  			}
  		}
  
  		return $return;
  	}
code: public function get($key = null, $default = null)
  	{
  		$return = $this->data;
  
  		if ($key !== null) {
  			$keys = explode('.', $key);
  
  			foreach ($keys as $key) {
  				if (isset($return[(string) $key])) {
  					$return = $return[$key];
  				} else {
  					$return = $default;
  					break;
  				}
  			}
  		}
  
  		return $return;
  	}
code_tokens: public function get ( $ key = null , $ default = null ) { $ return = $ this -> data ; if ( $ key !== null ) { $ keys = explode ( '.' , $ key ) ; foreach ( $ keys as $ key ) { if ( isset ( $ return [ ( string ) $ key ] ) ) { $ return = $ return [ $ key ] ; } else { $ return = $ default ; break ; } } } return $ return ; }
docstring: Get value assigned for key
  
  @access public
  @param string|int $key Identifier for $data
  @return mixed|null Value given for key
docstring_tokens: Get value assigned for key