File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/Symfony/Component/Security/Http Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 2222 * @author Ryan Weaver <ryan@knpuniversity.com>
2323 */
2424#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::TARGET_FUNCTION )]
25- final class IsGranted
25+ class IsGranted
2626{
2727 /** @var string[] */
2828 public readonly array $ methods ;
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ CHANGELOG
88 * Deprecate callable firewall listeners, extend ` AbstractListener ` or implement ` FirewallListenerInterface ` instead
99 * Deprecate ` AbstractListener::__invoke `
1010 * Add ` $methods ` argument to ` #[IsGranted] ` to restrict validation to specific HTTP methods
11+ * Remove ` final ` keyword from ` #[IsGranted] ` to allow implementation of custom attributes
1112
12137.3
1314---
You can’t perform that action at this time.
0 commit comments