objectManager = $objectManager; } /** * {@inheritdoc} * @return ScopeDefault */ public function getScope($scopeId = null) { if (!$this->defaultScope) { $this->defaultScope = $this->objectManager->create(ScopeDefault::class); } return $this->defaultScope; } /** * Retrieve a list of available scopes * * @return ScopeInterface[] */ public function getScopes() { return [$this->defaultScope]; } }