Пример #1
0
/**
 * Provides the ShoppErrorStorefrontNotices instance
 *
 * @since 1.3
 *
 * @return ShoppErrorStorefrontNotices The running ShoppErrorStorefrontNotices instance
 **/
function ShoppErrorStorefrontNotices()
{
    return ShoppErrorStorefrontNotices::object();
}
Пример #2
0
 public static function object()
 {
     if (!self::$object instanceof self) {
         self::$object = new self();
     }
     return self::$object;
 }