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