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;
	}
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;
	}
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 ; }
Get value assigned for key

@access public
@param string|int $key Identifier for $data
@return mixed|null Value given for key
Get value assigned for key