Heystack\Ecommerce\Currency\Event\CurrencyEvent
Currency Event
Events dispatched from the CurrencyService will have this object attached
- Author: Glenn Bautista <glenn@heyday.co.nz>
- Copyright: Heyday
Synopsis
class CurrencyEvent
extends Event
{
- // members
- protected CurrencyInterface $currency;
- // methods
- public void __construct()
- public CurrencyInterface getCurrency()
Hierarchy
Extends
- Symfony\Component\EventDispatcher\Event
Members
protected
- $currency
—
\Heystack\Ecommerce\Currency\Interfaces\CurrencyInterface
Holds the currency object relevant to this event
Methods
public
- __construct() — Creates the CurrencyEvent object
- getCurrency() — Returns the currency object relevant to this event