public static function fromCurrent($key = null, $default = null) {

		switch(static :: getMethod()) {
			
			case 'get' : $data = $_GET; break;
			case 'post' : $data = $_POST; break;
			default : $data = null;
		}

		return static :: from(static :: getMethod(), $key, $default, $data);
	}
public static function fromCurrent($key = null, $default = null) {

		switch(static :: getMethod()) {
			
			case 'get' : $data = $_GET; break;
			case 'post' : $data = $_POST; break;
			default : $data = null;
		}

		return static :: from(static :: getMethod(), $key, $default, $data);
	}
public static function fromCurrent ( $ key = null , $ default = null ) { switch ( static :: getMethod ( ) ) { case 'get' : $ data = $ _GET ; break ; case 'post' : $ data = $ _POST ; break ; default : $ data = null ; } return static :: from ( static :: getMethod ( ) , $ key , $ default , $ data ) ; }
Get variable from the current HTTP method
@param mixed $key
@param mixed $default
@return mixed
Get variable from the current HTTP method