📜  synfony 验证器 si 连接器和控制器 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:56.505000             🧑  作者: Mango

代码示例1
$securityContext = $this->container->get('security.context');
if ($securityContext->isGranted('IS_AUTHENTICATED_REMEMBERED')) {
    // authenticated REMEMBERED, FULLY will imply REMEMBERED (NON anonymous)
}