Currency
class Currency extends BaseAction implements EventSubscriberInterface
Methods
mixed
genericToggleVisibility(
ModelCriteria $query,
ToggleVisibilityEvent $event,
EventDispatcherInterface $dispatcher = null)
Toggle visibility for an object
from
BaseAction
__construct(
CurrencyConverter $currencyConverter)
No description
create(
CurrencyCreateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Create a new currencyuration entry
update(
CurrencyUpdateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Change a currency
setDefault(
CurrencyUpdateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Set the default currency
setVisible(
CurrencyUpdateEvent $event)
No description
delete(
CurrencyDeleteEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Delete a currencyuration entry
updateRates(
CurrencyUpdateRateEvent $event)
No description
updatePosition(
UpdatePositionEvent $event,
string $eventName,
EventDispatcherInterface $dispatcher)
Changes position, selecting absolute ou relative change.
static
getSubscribedEvents()
{@inheritDoc}
Details
in
BaseAction at line 130
mixed
genericToggleVisibility(
ModelCriteria $query,
ToggleVisibilityEvent $event,
EventDispatcherInterface $dispatcher = null)
Toggle visibility for an object
at line 36
__construct(
CurrencyConverter $currencyConverter)
at line 48
create(
CurrencyCreateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Create a new currencyuration entry
at line 76
update(
CurrencyUpdateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Change a currency
at line 102
setDefault(
CurrencyUpdateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Set the default currency
at line 129
setVisible(
CurrencyUpdateEvent $event)
at line 145
delete(
CurrencyDeleteEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Delete a currencyuration entry
at line 163
updateRates(
CurrencyUpdateRateEvent $event)
at line 199
updatePosition(
UpdatePositionEvent $event,
string $eventName,
EventDispatcherInterface $dispatcher)
Changes position, selecting absolute ou relative change.
at line 207
static
getSubscribedEvents()
{@inheritDoc}