You are here

interface EventDispatcherInterface in Currency 8.3

Defines a Currency event dispatcher.

Because new events may be added in minor releases, this interface and all classes that implement it are considered unstable forever. If you write an event dispatcher, you must be prepared to update it in minor releases.

Hierarchy

Expanded class hierarchy of EventDispatcherInterface

All classes that implement EventDispatcherInterface

1 file declares its use of EventDispatcherInterface
LocaleResolverTest.php in tests/src/Unit/LocaleResolverTest.php

File

src/EventDispatcherInterface.php, line 12

Namespace

Drupal\currency
View source
interface EventDispatcherInterface {

  /**
   * Gets the current country code.
   *
   * @return string
   *   The current country code.
   */
  public function resolveCountryCode();

}

Members

Namesort descending Modifiers Type Description Overrides
EventDispatcherInterface::resolveCountryCode public function Gets the current country code. 1