Ejemplo n.º 1
0
/**
 * Provides the ShoppErrorLogging instance
 *
 * @since 1.3
 *
 * @return ShoppErrorLogging The running ShoppErrorLogging instance
 **/
function ShoppErrorLogging()
{
    return ShoppErrorLogging::object();
}
Ejemplo n.º 2
0
 /**
  * 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;
 }