/** * {@inheritdoc} */ public function removeAction(ActionInterface $action) { $action->setPromotion(null); $this->actions->removeElement($action); return $this; }
/** * @param ActionInterface $action * @return $this */ public function removeAction(ActionInterface $action) { $this->actions->detach($action); return $this; }