[ 'class' => AccessControl::class, 'rules' => [ [ 'allow' => true, 'roles' => ['viewAdminPage'], ], ], ], 'verbs' => [ 'class' => VerbFilter::class, 'actions' => [ 'logout' => ['post'], ], ], ]; } }