Skip to content

Commit d7dd6fd

Browse files
committed
Update CheckerInterface.php
1 parent 9864d21 commit d7dd6fd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/GooglePlay/Contracts/CheckerInterface.php

+8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace Imdhemy\Purchases\GooglePlay\Contracts;
44

5+
use Imdhemy\Purchases\Exceptions\CouldNotPersist;
56
use Imdhemy\Purchases\GooglePlay\Subscriptions\Response;
7+
use Imdhemy\Purchases\Models\PurchaseLog;
68

79
/**
810
* Interface CheckerInterface
@@ -24,4 +26,10 @@ public function isValid(): bool;
2426
* @return bool
2527
*/
2628
public function isTesting(): bool;
29+
30+
/**
31+
* @return PurchaseLog
32+
* @throws CouldNotPersist
33+
*/
34+
public function persist(): PurchaseLog
2735
}

0 commit comments

Comments
 (0)