src/ItePHP/Core/ValidatorSnippet.php
public function validate(Container $container,$validatorName,$value){
		$validator=new $validatorName();
		return $container->getService('validator')->validate($validator,$value);
	}
public function validate(Container $container,$validatorName,$value){
		$validator=new $validatorName();
		return $container->getService('validator')->validate($validator,$value);
	}
public function validate ( Container $ container , $ validatorName , $ value ) { $ validator = new $ validatorName ( ) ; return $ container -> getService ( 'validator' ) -> validate ( $ validator , $ value ) ; }
Execute validator

@param Container $container
@param string $validatorName
@param mixed $value
@return string
Execute validator