src/Whitelist/Check.php
public function check($value)
	{
		foreach ($this->_definitions as $definition)
			if ($definition->match($value))
				return true;

		return false;
	}
public function check($value)
	{
		foreach ($this->_definitions as $definition)
			if ($definition->match($value))
				return true;

		return false;
	}
public function check ( $ value ) { foreach ( $ this -> _definitions as $ definition ) if ( $ definition -> match ( $ value ) ) return true ; return false ; }
Checks the specified value against all configured definitions and
returns true if at least one definition considers it a match
@param string $value the value to be checked
@return boolean
Checks the specified value against all configured definitions and returns true if at least one definition considers it a match