src/Leevel/Http/ApiResponse.php
public function forbidden(?string $message = null, ?string $text = null): IResponse
    {
        return $this->error($message, static::HTTP_FORBIDDEN, $text);
    }
public function forbidden(?string $message = null, ?string $text = null): IResponse
    {
        return $this->error($message, static::HTTP_FORBIDDEN, $text);
    }
禁止
服务器拒绝请求: 403.

@param string $message
@param string $text

@return $this