我如何在 laravel RuleFactory 中定义唯一电子邮件的规则

how can i define rule for unique email in laravel RuleFactory

    $this->_rulesFactory = new RulesFactory(
        new RuleExtensionRegistry(),
        $this->_errorTemplateRegistry,
        new Compiler()
    );

    $this->_validator = new Validator($this->_rulesFactory);

    $this->_validator->field('email')->required()->email("uniqe");

我使用此代码并在邮递员中收到此错误

"message": "No rule extension with name \"uniqe\" exists",

您需要提及 table 姓名,以便从那里查看电子邮件。

$this->_validator->field('email')->required()->email("uniqe:table_name");