src/Leevel/Validate/Assert.php
public static function lazy($value, ?string $message = null, bool $all = true): self
    {
        return new static($value, $message, true, $all);
    }
public static function lazy($value, ?string $message = null, bool $all = true): self
    {
        return new static($value, $message, true, $all);
    }
创建断言对象延迟抛出错误.

@example
Assert::lazy($value)
->notEmpty()
->lessThan([7])
->flush();

@param mixed       $value
@param null|string $message
@param bool        $all

@return static