コード例 #1
0
ファイル: Prototype.php プロジェクト: bcremer/Sylius
 /**
  * {@inheritdoc}
  */
 public function removeOption(OptionInterface $option)
 {
     if ($this->hasOption($option)) {
         $this->options->removeElement($option);
     }
     return $this;
 }
コード例 #2
0
ファイル: Archetype.php プロジェクト: vikey89/Sylius
 /**
  * {@inheritdoc}
  */
 public function removeOption(OptionInterface $option)
 {
     $this->options->removeElement($option);
 }
コード例 #3
0
ファイル: Archetype.php プロジェクト: aleherse/Sylius
 /**
  * {@inheritdoc}
  */
 public function removeOption(BaseOptionInterface $option)
 {
     $this->options->removeElement($option);
     return $this;
 }