function Assert::stringNotEmpty
@psalm-pure @psalm-assert non-empty-string $value
Parameters
mixed $value:
string $message:
Throws
14 calls to Assert::stringNotEmpty()
- Covers::create in vendor/
phpdocumentor/ reflection-docblock/ src/ DocBlock/ Tags/ Covers.php - DocBlockFactory::create in vendor/
phpdocumentor/ reflection-docblock/ src/ DocBlockFactory.php - Example::__construct in vendor/
phpdocumentor/ reflection-docblock/ src/ DocBlock/ Tags/ Example.php - Generic::create in vendor/
phpdocumentor/ reflection-docblock/ src/ DocBlock/ Tags/ Generic.php - Creates a new tag that represents any unknown tag type.
- Method::create in vendor/
phpdocumentor/ reflection-docblock/ src/ DocBlock/ Tags/ Method.php
File
-
vendor/
webmozart/ assert/ src/ Assert.php, line 65
Class
- Assert
- Efficient assertions to validate the input/output of your methods.
Namespace
Webmozart\AssertCode
public static function stringNotEmpty($value, $message = '') {
static::string($value, $message);
static::notEq($value, '', $message);
}