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