我正在尝试为一个抽象类创建一个自定义的搜索过滤器,我希望能够通过一个关键字进行搜索。搜索筛选器代码: public function getDescription(string $resourceClass): array $reader = new AnnotationReaderFullTextFilter on ' . implode(', ', $annotation->fields)],
我正在尝试创建一个自定义的规范器,但是我无法使用API平台访问我当前的用户。 当我试图加载我的客户端类时,它是空的。我尝试使用API平台的文档方法,但检索到的标记也是空的。php
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use <em
我使用的是APIPlatform v2.4。我实现了一个JWT身份验证,一切工作正常。但我想在登录时添加一个检查:如果用户处于非活动状态,我想阻止访问,因此我根据synfony食谱使用UserCheck:
use Symfony\Component\Security\CoreInactive acco