<?php
 namespace TechSoft\Laravel\Shop\Util; use TechSoft\Laravel\Lock\DBLockUtil; class ShopLockUtil { public static function checkoutLockBegin() { return DBLockUtil::acquire('OrderCheckout'); } public static function checkoutLockEnd() { DBLockUtil::release('OrderCheckout'); } } 