/** * {@inheritdoc} */ protected function initializeFromContext(ContextInterface $context) { parent::initializeFromContext($context); $this->ensureInitialized($context); }
/** * {@inheritdoc} */ protected function initializeFromContext(ContextInterface $context) { $this->priceListId = (int) $context->getOption('price_list_id'); parent::initializeFromContext($context); }