src/Network/Request.php
public function getData() {
        $values = array_filter(filter_input_array(INPUT_POST));
        foreach ($values as $key => $value) {
            if ( is_array($value) )  {
                $values[$key] = array_filter($value);
            }
        }

        return $values + $_FILES;
    }
public function getData() {
        $values = array_filter(filter_input_array(INPUT_POST));
        foreach ($values as $key => $value) {
            if ( is_array($value) )  {
                $values[$key] = array_filter($value);
            }
        }

        return $values + $_FILES;
    }
public function getData ( ) { $ values = array_filter ( filter_input_array ( INPUT_POST ) ) ; foreach ( $ values as $ key => $ value ) { if ( is_array ( $ value ) ) { $ values [ $ key ] = array_filter ( $ value ) ; } } return $ values + $ _FILES ; }
Devuelve todos losd atos enviados de un formulario
@return type
Devuelve todos losd atos enviados de un formulario