/** * Provides an instance of the current class. * * @author Jérôme Pierre <*****@*****.**> * @version V1 - July 28th 2010 * * @param string $path The absolute path to a JPEG/TIFF image file. * * @return s6yExifDataManager An instance of the current class. */ public static function getInstance($path = null) { if (!isset(self::$_instance)) { self::$_instance = new self($path); } else { self::$_instance->supplyImage($path); } return self::$_instance; }