Expanded class hierarchy of CacheableMethodNotAllowedHttpException in Drupal 9
- class \Drupal\Core\Http\Exception\CacheableMethodNotAllowedHttpException extends \Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException implements CacheableDependencyInterface uses CacheableDependencyTrait