Validator::notEmpty()
Assert that each variable is not empty.
Return
(DotenvValidator)
Source
File: vendor/vlucas/phpdotenv/src/Validator.php
public function notEmpty()
{
return $this->assertCallback(
function ($value) {
if ($value === null) {
return true;
}
return strlen(trim($value)) > 0;
},
'is empty'
);
}