Class Contains
	
	Check if the input is contains the specified string or pattern
	 
	
		- 
			Wei\Base
			
			
			
		
- 
			 Wei\Validator\BaseValidator Wei\Validator\BaseValidator
- 
			 Wei\Validator\Contains Wei\Validator\Contains
	Methods summary
	
		| 
			 public 
			boolean
			
			 | 
		#
		__invoke( mixed $input, string $search = null, boolean $regex = false )
			Returns whether the $input value is valid 
			Returns whether the $input value is valid ParametersReturns
					boolean
				 Overrides | 
	
		| 
			 protected 
			boolean
			
			 | 
		#
		doValidate( mixed $input )
			Validate the input value (ignore the $negative property) 
			Validate the input value (ignore the $negative property) Parameters
					$inputThe input to be validatedReturns
					boolean
				 | 
	
	
	Methods inherited from Wei\Validator\BaseValidator
	
		| 
			addError(), 
			getErrors(), 
			getFirstMessage(), 
			getJoinedMessage(), 
			getMessages(), 
			getName(), 
			hasError(), 
			isString(), 
			isValid(), 
			loadTranslationMessages(), 
			setMessages(), 
			setName(), 
			storeOption()
		 | 
	
	
	
	
	Properties summary
	
		| 
			protected  
			string
		 | $notContainsMessage 
				
			 
				
			 | 
				#
				'%name% must contains %search%' | 
	
		| 
			protected  
			string
		 | $negativeMessage 
				The common message for negative validator 
				The common message for negative validator | 
				#
				'%name% must not contains %search%' | 
	
		| 
			protected  
			
		 | $search 
				
			 
				
			 |  | 
	
		| 
			protected  
			boolean
		 | $regex 
				
			 
				
			 |  |