Skip to content

Conversation

@HypeMC
Copy link

@HypeMC HypeMC commented Nov 18, 2025

In Symfony 7.4 the Route attribute getters and setters have been deprecated in favor of public properties.

}

if (!$this->getMethods()) {
if ($this->isMethodsPropertyPublic()) {
Copy link
Contributor

@alexander-schranz alexander-schranz Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious why not use if (isset($this->methods)) { to handle this bc layer? Reflection looks like overhead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants