You are here

public static function ExifPHPExtension::getInstance in Exif 7

Same name and namespace in other branches
  1. 8.2 src/ExifPHPExtension.php \Drupal\exif\ExifPHPExtension::getInstance()
  2. 8 src/ExifPHPExtension.php \Drupal\exif\ExifPHPExtension::getInstance()
1 call to ExifPHPExtension::getInstance()
ExifFactory::getExifInterface in ./ExifFactory.php

File

./ExifPHPExtension.php, line 24

Class

ExifPHPExtension

Namespace

Drupal\exif

Code

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