Lines Matching defs:message
189 public static function string($value, $message = '')
199 public static function stringNotEmpty($value, $message = '')
205 public static function integer($value, $message = '')
215 public static function integerish($value, $message = '')
225 public static function float($value, $message = '')
235 public static function numeric($value, $message = '')
245 public static function natural($value, $message = '')
255 public static function boolean($value, $message = '')
265 public static function scalar($value, $message = '')
275 public static function object($value, $message = '')
285 public static function resource($value, $type = null, $message = '')
303 public static function isCallable($value, $message = '')
313 public static function isArray($value, $message = '')
323 public static function isTraversable($value, $message = '')
341 public static function isArrayAccessible($value, $message = '')
351 public static function isCountable($value, $message = '')
361 public static function isIterable($value, $message = '')
371 public static function isInstanceOf($value, $class, $message = '')
382 public static function notInstanceOf($value, $class, $message = '')
393 public static function isInstanceOfAny($value, array $classes, $message = '')
408 public static function isEmpty($value, $message = '')
418 public static function notEmpty($value, $message = '')
428 public static function null($value, $message = '')
438 public static function notNull($value, $message = '')
447 public static function true($value, $message = '')
457 public static function false($value, $message = '')
467 public static function ip($value, $message = '')
477 public static function ipv4($value, $message = '')
487 public static function ipv6($value, $message = '')
497 public static function eq($value, $value2, $message = '')
508 public static function notEq($value, $value2, $message = '')
518 public static function same($value, $value2, $message = '')
529 public static function notSame($value, $value2, $message = '')
539 public static function greaterThan($value, $limit, $message = '')
550 public static function greaterThanEq($value, $limit, $message = '')
561 public static function lessThan($value, $limit, $message = '')
572 public static function lessThanEq($value, $limit, $message = '')
583 public static function range($value, $min, $max, $message = '')
595 public static function oneOf($value, array $values, $message = '')
606 public static function contains($value, $subString, $message = '')
617 public static function notContains($value, $subString, $message = '')
628 public static function notWhitespaceOnly($value, $message = '')
638 public static function startsWith($value, $prefix, $message = '')
649 public static function startsWithLetter($value, $message = '')
668 public static function endsWith($value, $suffix, $message = '')
679 public static function regex($value, $pattern, $message = '')
689 public static function notRegex($value, $pattern, $message = '')
701 public static function alpha($value, $message = '')
716 public static function digits($value, $message = '')
731 public static function alnum($value, $message = '')
746 public static function lower($value, $message = '')
761 public static function upper($value, $message = '')
776 public static function length($value, $length, $message = '')
787 public static function minLength($value, $min, $message = '')
798 public static function maxLength($value, $max, $message = '')
809 public static function lengthBetween($value, $min, $max, $message = '')
823 public static function fileExists($value, $message = '')
835 public static function file($value, $message = '')
847 public static function directory($value, $message = '')
859 public static function readable($value, $message = '')
869 public static function writable($value, $message = '')
879 public static function classExists($value, $message = '')
889 public static function subclassOf($value, $class, $message = '')
900 public static function interfaceExists($value, $message = '')
910 public static function implementsInterface($value, $interface, $message = '')
921 public static function propertyExists($classOrObject, $property, $message = '')
931 public static function propertyNotExists($classOrObject, $property, $message = '')
941 public static function methodExists($classOrObject, $method, $message = '')
951 public static function methodNotExists($classOrObject, $method, $message = '')
961 public static function keyExists($array, $key, $message = '')
971 public static function keyNotExists($array, $key, $message = '')
981 public static function count($array, $number, $message = '')
990 public static function minCount($array, $min, $message = '')
1001 public static function maxCount($array, $max, $message = '')
1012 public static function countBetween($array, $min, $max, $message = '')
1026 public static function isList($array, $message = '')
1035 public static function isMap($array, $message = '')
1050 public static function uuid($value, $message = '')
1068 public static function throws(Closure $expression, $class = 'Exception', $message = '')
1179 protected static function reportInvalidArgument($message)