src/SnooPHP/Http/Request.php
public function validateInput(array $rules)
	{
		foreach ($rules as $rule)
			if (empty($this->inputs[$rule])) return false;

		return true;
	}
public function validateInput(array $rules)
	{
		foreach ($rules as $rule)
			if (empty($this->inputs[$rule])) return false;

		return true;
	}
public function validateInput ( array $ rules ) { foreach ( $ rules as $ rule ) if ( empty ( $ this -> inputs [ $ rule ] ) ) return false ; return true ; }
Return true if input is valid

@param array $rules list of input rules

@return bool
Return true if input is valid