예제 #1
0
 /**
  * {@inheritdoc}
  */
 public function addOption(OptionInterface $option)
 {
     if (!$this->hasOption($option)) {
         $this->options->add($option);
     }
     return $this;
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function addOption(OptionInterface $option)
 {
     $this->options->add($option);
 }
예제 #3
0
 /**
  * {@inheritdoc}
  */
 public function addOption(BaseOptionInterface $option)
 {
     $this->options->add($option);
     return $this;
 }