public function make($input, $rules = [])
    {
        $this->_input = $input;
        foreach ($rules as $key => $value) {
            $this->validateInput($input, $rules, $key);
        }

        return $this;
    }
public function make($input, $rules = [])
    {
        $this->_input = $input;
        foreach ($rules as $key => $value) {
            $this->validateInput($input, $rules, $key);
        }

        return $this;
    }
public function make ( $ input , $ rules = [ ] ) { $ this -> _input = $ input ; foreach ( $ rules as $ key => $ value ) { $ this -> validateInput ( $ input , $ rules , $ key ) ; } return $ this ; }
Creates validation.

@param array $input - Form input array
@param array $rules - Validation rules

@return \Scara\Validation\Validator
Creates validation .