validate() public method
Validates the input to see if it matches the generated code.
public boolean validate ( $input, $caseSensitive )$input string
User input $caseSensitive boolean
Whether the comparison should be case-sensitive return boolean
Whether the input is valid