/** * Provides the ShoppErrorLogging instance * * @since 1.3 * * @return ShoppErrorLogging The running ShoppErrorLogging instance **/ function ShoppErrorLogging() { return ShoppErrorLogging::object(); }
/** * The singleton access method * * @author Jonathan Davis * @since 1.2 * * @return ShoppErrorLogging **/ public static function object() { if (!self::$object instanceof self) { self::$object = new self(); } return self::$object; }