phpDocumentor

SunnyCashCouponRepository
in package
implements SunnyCashCouponRepositoryInterface

Class SunnyCashCouponRepository

Interfaces, Classes and Traits

SunnyCashCouponRepositoryInterface
Interface SunnyCashCouponRepositoryInterface

Table of Contents

$cacheManager  : SunnyCashCacheManagerInterface
$couponReader  : SunnyCashCouponReaderInterface
__construct()  : mixed
SunnyCashCouponRepository constructor.
getAllCoupons()  : SunnyCashCouponCollection
Gets all available SunnyCash coupons.
getCouponById()  : SunnyCashCoupon
Gets a coupon by its ID.
getCouponQuantity()  : int
Gets the total number of available SunnyCash coupons.

Properties

Methods

getCouponQuantity()

Gets the total number of available SunnyCash coupons.

public getCouponQuantity() : int
Return values
int

Search results