public function NumberFormatEvent::__construct in Price 8
Same name and namespace in other branches
- 3.x src/Event/NumberFormatEvent.php \Drupal\price\Event\NumberFormatEvent::__construct()
- 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\EventCode
public function __construct($number_format) {
$this->numberFormat = $number_format;
}