function cache_for($id, $ttl, \Closure $lambda) { \Cashier\Base::block($id, $ttl < 0 ? time() : (int) $ttl, $lambda); }