function CacheableMethodNotAllowedHttpException::__construct
File
- 
              core/lib/ Drupal/ Core/ Http/ Exception/ CacheableMethodNotAllowedHttpException.php, line 19 
Class
- CacheableMethodNotAllowedHttpException
- A cacheable MethodNotAllowedHttpException.
Namespace
Drupal\Core\Http\ExceptionCode
public function __construct(CacheableDependencyInterface $cacheability, array $allow, $message = '', ?\Exception $previous = NULL, $code = 0) {
  $this->setCacheability($cacheability);
  parent::__construct($allow, $message, $previous, $code);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
