You are here

public function Context::getStore in Commerce Core 8.2

Gets the store.

Return value

\Drupal\commerce_store\Entity\StoreInterface The store.

File

src/Context.php, line 81

Class

Context
Contains known global information (customer, store, time).

Namespace

Drupal\commerce

Code

public function getStore() : StoreInterface {
  return $this->store;
}