src/Alg/Validation/PredicateValidator.php
public function isClass( $value, $class )
	{
		$method	= "is".ucFirst( $class );
		if( !method_exists( $this->validator, $method ) )
			throw new BadMethodCallException( 'Predicate "'.$method.'" is not defined.' );
		return $this->validator->$method( $value, $method );
	}
public function isClass( $value, $class )
	{
		$method	= "is".ucFirst( $class );
		if( !method_exists( $this->validator, $method ) )
			throw new BadMethodCallException( 'Predicate "'.$method.'" is not defined.' );
		return $this->validator->$method( $value, $method );
	}
public function isClass ( $ value , $ class ) { $ method = "is" . ucFirst ( $ class ) ; if ( ! method_exists ( $ this -> validator , $ method ) ) throw new BadMethodCallException ( 'Predicate "' . $ method . '" is not defined.' ) ; return $ this -> validator -> $ method ( $ value , $ method ) ; }
Indicates whether a String is of a specific Character Class.
@access		public
@param		string		$value		String to be checked
@param		string		$class		Key of Character Class
@return		bool
Indicates whether a String is of a specific Character Class .