src/MvcCore/Ext/Forms/Validator.php
public static function & CreateInstance (array $constructorConfig = []) {
		$validator = new static($constructorConfig);
		$validator::$toolClass = \MvcCore\Application::GetInstance()->GetToolClass();
		return $validator;
	}
public static function & CreateInstance (array $constructorConfig = []) {
		$validator = new static($constructorConfig);
		$validator::$toolClass = \MvcCore\Application::GetInstance()->GetToolClass();
		return $validator;
	}
public static function & CreateInstance ( array $ constructorConfig = [ ] ) { $ validator = new static ( $ constructorConfig ) ; $ validator :: $ toolClass = \ MvcCore \ Application :: GetInstance ( ) -> GetToolClass ( ) ; return $ validator ; }
Create every time new validator instance with configured form instance. No singleton.
@param array $constructorConfig	Configuration arguments for constructor,
validator's constructor first param.
@return \MvcCore\Ext\Forms\Validator|\MvcCore\Ext\Forms\IValidator
Create every time new validator instance with configured form instance . No singleton .