public function StoreEvent::__construct in Commerce Core 8.2
Constructs a new StoreEvent.
Parameters
\Drupal\commerce_store\Entity\StoreInterface $store: The store.
File
- modules/
store/ src/ Event/ StoreEvent.php, line 28
Class
- StoreEvent
- Defines the store event.
Namespace
Drupal\commerce_store\EventCode
public function __construct(StoreInterface $store) {
$this->store = $store;
}