phpDocumentor

SunnyCashCouponReader
in package
implements SunnyCashCouponReaderInterface

Class SunnyCashCouponReader

Interfaces, Classes and Traits

SunnyCashCouponReaderInterface
Interface SunnyCashCouponReaderInterface

Table of Contents

$couponFactory  : SunnyCashCouponFactory
$rootDirectory  : ExistingDirectory
__construct()  : mixed
SunnyCashCouponReader constructor.
getAllCoupons()  : SunnyCashCouponCollection
Gets all available SunnyCash coupons.
getCouponById()  : SunnyCashCoupon
Gets a coupon by its ID.
getCouponQuantity()  : int
Gets the total number of coupons from the cache file
getJsonCoupons()  : array<string|int, mixed>
Fetches all coupons from a JSON cache file.

Properties

Methods

getJsonCoupons()

Fetches all coupons from a JSON cache file.

protected getJsonCoupons() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results