我已经使用以下命令安装了插件 MacFJA/php-redisearch
composer require macfja/redisearch
问题:
完整代码:
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Redis;
use DateTime;
use FKRediSearch\RediSearch\Setup;
use MacFJA\RediSearch\Redis\Client\ClientFacade;
class CommandName extends Command
{
protected $signature = 'command:commandName';
protected $description = 'Command description';
public function __construct()
{
parent::__construct();
}
public function handle()
{
$clientFacade = new ClientFacade();
}
}
有人可以分享为什么会抛出这个问题吗?