public function url($action, $params=[]) {
		if(is_array($action))
			return $this->resolver->url($action, $params);
		else
			return $this->resolver->url([get_called_class(), $action], $params);
	}
public function url($action, $params=[]) {
		if(is_array($action))
			return $this->resolver->url($action, $params);
		else
			return $this->resolver->url([get_called_class(), $action], $params);
	}
public function url ( $ action , $ params = [ ] ) { if ( is_array ( $ action ) ) return $ this -> resolver -> url ( $ action , $ params ) ; else return $ this -> resolver -> url ( [ get_called_class ( ) , $ action ] , $ params ) ; }
Return the url for a given action.
@param  mixed $action
@param  array  $params
@return string
Return the url for a given action .