You are here

public function NumberFormatEvent::__construct in Price 8

Same name and namespace in other branches
  1. 3.x src/Event/NumberFormatEvent.php \Drupal\price\Event\NumberFormatEvent::__construct()
  2. 3.0.x src/Event/NumberFormatEvent.php \Drupal\price\Event\NumberFormatEvent::__construct()

Constructs a new NumberFormatEvent.

Parameters

object $number_format: The number format.

File

src/Event/NumberFormatEvent.php, line 29

Class

NumberFormatEvent
Defines the number format event.

Namespace

Drupal\price\Event

Code

public function __construct($number_format) {
  $this->numberFormat = $number_format;
}