You are here

public static function SimpleExifToolFacade::getInstance in Exif 7

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

File

./SimpleExiftoolFacade.php, line 24

Class

SimpleExifToolFacade

Namespace

Drupal\exif

Code

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