/** * {@inheritdoc} */ public function getName() { if (null === $this->option) { throw new BadMethodCallException('Option proxy method access failed, not yet set.'); } return $this->option->getName(); }
/** * {@inheritdoc} */ public function getName() { $normalizedName = str_replace('-', '_', $this->option->getName()); return sprintf('dag_%s_option_value', $normalizedName); }