Same name and namespace in other branches
  1. 8.x-1.x src/SimpleExifToolFacade.php \Drupal\exif\SimpleExifToolFacade::getInstance() 1 comment
  2. 8.x-2.x src/SimpleExifToolFacade.php \Drupal\exif\SimpleExifToolFacade::getInstance() 1 comment

Return value

object

1 call to SimpleExifToolFacade::getInstance()
ExifFactory::getExifInterface in ./ExifFactory.php

File

./SimpleExiftoolFacade.php, line 19

Class

SimpleExifToolFacade
Helper class to handle the whole data processing of EXIF with exiftool.

Namespace

Drupal\exif

Code

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