src/Network/Request.php
public function url($name) {
        if ( key_exists($name, $this->_url) ) {
            return $this->_url[$name];
        }
        
        return htmlentities(utf8_decode(filter_input(INPUT_GET, $name, FILTER_SANITIZE_STRING)));
    }
public function url($name) {
        if ( key_exists($name, $this->_url) ) {
            return $this->_url[$name];
        }
        
        return htmlentities(utf8_decode(filter_input(INPUT_GET, $name, FILTER_SANITIZE_STRING)));
    }
public function url ( $ name ) { if ( key_exists ( $ name , $ this -> _url ) ) { return $ this -> _url [ $ name ] ; } return htmlentities ( utf8_decode ( filter_input ( INPUT_GET , $ name , FILTER_SANITIZE_STRING ) ) ) ; }
Devuelve el dato enviado por GET
@param mix $name El nombre del parametro
@return string
Devuelve el dato enviado por GET