
| Current Path : /var/www/html/store/web/modules/contrib/commerce/modules/store/src/Event/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store/web/modules/contrib/commerce/modules/store/src/Event/StoreEvent.php |
<?php
namespace Drupal\commerce_store\Event;
use Drupal\commerce\EventBase;
use Drupal\commerce_store\Entity\StoreInterface;
/**
* Defines the store event.
*
* @see \Drupal\commerce_store\Event\StoreEvents
*/
class StoreEvent extends EventBase {
/**
* The store.
*
* @var \Drupal\commerce_store\Entity\StoreInterface
*/
protected $store;
/**
* Constructs a new StoreEvent.
*
* @param \Drupal\commerce_store\Entity\StoreInterface $store
* The store.
*/
public function __construct(StoreInterface $store) {
$this->store = $store;
}
/**
* Gets the store.
*
* @return \Drupal\commerce_store\Entity\StoreInterface
* The store.
*/
public function getStore() {
return $this->store;
}
}