public function passes($input, $rules)
    {
        foreach ($rules as $field => $rule) {
            $this->callValidator($input[$field], $field, $rule);
        }
        return ! $this->failed;
    }
public function passes($input, $rules)
    {
        foreach ($rules as $field => $rule) {
            $this->callValidator($input[$field], $field, $rule);
        }
        return ! $this->failed;
    }
public function passes ( $ input , $ rules ) { foreach ( $ rules as $ field => $ rule ) { $ this -> callValidator ( $ input [ $ field ] , $ field , $ rule ) ; } return ! $ this -> failed ; }
Loops through the rules and checks the current input.

@param $input
@param $rules
@return bool
Loops through the rules and checks the current input .