AdvertExpirationTrait
Extends or renews the expiration of an advert, Repository layer.
Calls the Api endpoint api/bazaar/advert/extend-expiration; the new expiration (interval
from categories, fallback to settings) is computed by the Api AdvertManager.
Table of Contents
Methods
Methods
extendExpiration()
public
extendExpiration(int $advertId) : Result
Parameters
- $advertId : int