/** @return Gallery */ public static function getInstance() { if (!isset(self::$instance)) { self::$instance = new Gallery(); } return self::$instance; }
/** * Get Instance * * Return an instance of this class * @return object Instance of this class */ public static function getInstance() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; }