public function validate($value, $options)
	{
		$this->value = $value;
		$this->options = $options;
		$this->errors = [];

		return $this->checkIt();
	}
public function validate($value, $options)
	{
		$this->value = $value;
		$this->options = $options;
		$this->errors = [];

		return $this->checkIt();
	}
public function validate ( $ value , $ options ) { $ this -> value = $ value ; $ this -> options = $ options ; $ this -> errors = [ ] ; return $ this -> checkIt ( ) ; }
Main validation function
@param  mixed $value Value to check
@param  buildok\helpers\ArrayWrapper $options Validation options
@return boolean
Main validation function