To avoid getting E_USER_DEPRECATED warnings with Symfony Routing 2.7+, remove _method from the requirements copied over from the original route(s). It wasn't used anyway, as the required method was already explicitly set to OPTIONS with a call to method('OPTIONS').
To avoid getting E_USER_DEPRECATED warnings with Symfony Routing 2.7+, remove _method from the requirements copied over from the original route(s). It wasn't used anyway, as the required method was already explicitly set to OPTIONS with a call to method('OPTIONS').