Lines Matching refs:string

33 Assert::string($path, 'The path is expected to be a string. Got: %s');
40 * `%s`: The tested value as string, e.g. `"/foo/bar"`.
77 // The employee ID must be an integer. Got: string
93 `string($value, $message = '')` | Check that a value is a string
94 `stringNotEmpty($value, $message = '')` | Check that a value is a non-empty string
137 You should check that a value is a string with `Assert::string()` before making
142 `contains($value, $subString, $message = '')` | Check that a string contains a substring
143 `notContains($value, $subString, $message = '')` | Check that a string does not contains a subst…
144 `startsWith($value, $prefix, $message = '')` | Check that a string has a prefix
145 `startsWithLetter($value, $message = '')` | Check that a string starts with a letter
146 `endsWith($value, $suffix, $message = '')` | Check that a string has a suffix
147 `regex($value, $pattern, $message = '')` | Check that a string matches a regular express…
148 `notRegex($value, $pattern, $message = '')` | Check that a string does not match a regular …
149 `alpha($value, $message = '')` | Check that a string contains letters only
150 `digits($value, $message = '')` | Check that a string contains digits only
151 `alnum($value, $message = '')` | Check that a string contains letters and digi…
152 `lower($value, $message = '')` | Check that a string contains lowercase charac…
153 `upper($value, $message = '')` | Check that a string contains uppercase charac…
154 `length($value, $length, $message = '')` | Check that a string has a certain number of c…
155 `minLength($value, $min, $message = '')` | Check that a string has at least a certain nu…
156 `maxLength($value, $max, $message = '')` | Check that a string has at most a certain num…
157 `lengthBetween($value, $min, $max, $message = '')` | Check that a string has a length in the given…
158 `uuid($value, $message = '')` | Check that a string is a valid UUID
159 `ip($value, $message = '')` | Check that a string is a valid IP (either IPv…
160 `ipv4($value, $message = '')` | Check that a string is a valid IPv4
161 `ipv6($value, $message = '')` | Check that a string is a valid IPv6
162 `notWhitespaceOnly($value, $message = '')` | Check that a string contains at least one non…
221 Assert::nullOrString($middleName, 'The middle name must be a string or null. Got: %s');