public static function Mimetypes::getInstance

Get a singleton instance of the class

@codeCoverageIgnore

Return value

self

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Mimetypes.php, line 931

Class

Mimetypes
Provides mappings of file extensions to mimetypes @link http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types

Namespace

Guzzle\Http

Code

public static function getInstance() {
  if (!self::$instance) {
    self::$instance = new self();
  }
  return self::$instance;
}