function ContentDispositionFilenameParser::__construct

Same name in other branches
  1. 11.x core/modules/file/src/Upload/ContentDispositionFilenameParser.php \Drupal\file\Upload\ContentDispositionFilenameParser::__construct()

Private constructor to prevent instantiation.

File

core/modules/file/src/Upload/ContentDispositionFilenameParser.php, line 21

Class

ContentDispositionFilenameParser
Parses the content-disposition header to extract the client filename.

Namespace

Drupal\file\Upload

Code

private function __construct() {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.