Symfony\Component\Routing\Route::getMethods
Returns the uppercased HTTP methods this route is restricted to.
So an empty array means that any method is allowed.
Signature
public function getMethods()
Returns
- array
- The schemes