Remove followingStep

@param \Amulen\ShopBundle\Entity\ProductOrderStatus $followingStep
328640
public function removeFollowingStep(\Amulen\ShopBundle\Entity\ProductOrderStatus $followingStep = null)
    {
        $this->followingSteps->removeElement($followingStep);
    }
1190846
public function setStep($step)
    {
        $this->step = (integer)$step;
        $this->hasStep = true;

        return $this;
    }
721404
function removeThis()
    {
        $exportItems = $this->fetchItems();

        $db = eZDB::instance();
        $db->begin();
        foreach ( $exportItems as $item )
        {
            $item->remove();
        }
        $this->remove();
        $db->commit();
    }
886595
public function removeBehaviour(BehaviourAbstract $behaviour)
    {
        foreach ($this->behaviours as $key => $thisBehaviour) {
            if ($behaviour == $thisBehaviour) {
                unset($this->behaviours[$key]);
            }
        }
    }
71932
function remove() {
    global $messageStack;
    // cannot remove EC if DP installed:
    if (defined('MODULE_PAYMENT_PAYPALDP_STATUS')) {
      // this language text is hard-coded in english since Website Payments Pro is not yet available in any countries that speak any other language at this time.
      $messageStack->add_session('<strong>Sorry, you must remove PayPal Payments Pro (paypaldp) first.</strong> PayPal Payments Pro (Website Payments Pro) requires that you offer Express Checkout to your customers.<br /><a href="' . zen_href_link('modules.php?set=payment&module=paypaldp', '', 'NONSSL') . '">Click here to edit or remove your PayPal Payments Pro module.</a>' , 'error');
      zen_redirect(zen_href_link(FILENAME_MODULES, 'set=payment&module=paypalwpp', 'NONSSL'));
      return 'failed';
    }

    global $db;
    $db->Execute("delete from " . TABLE_CONFIGURATION . " where configuration_key LIKE 'MODULE\_PAYMENT\_PAYPALWPP\_%' or configuration_key like 'MODULE\_PAYMENT\_PAYPALEC\_%'");
    $this->notify('NOTIFY_PAYMENT_PAYPALWPP_UNINSTALLED');
  }
1284186
private function removeUnnecessaryLines(File $phpcsFile, array $nextToken, array $currentToken): void
    {
        $movement = 2;

        if ($nextToken['code'] === T_DOC_COMMENT_CLOSE_TAG) {
            $movement = 1;
        }

        $phpcsFile->fixer->beginChangeset();

        (new LineHelper($this->file))->removeLines(
            $currentToken['line'] + $movement,
            $nextToken['line'] - 1
        );

        $phpcsFile->fixer->endChangeset();
    }
396181
public function removeOrder(\TechPromux\DynamicQueryBundle\Entity\DataModelOrder $order)
    {
        $this->orders->removeElement($order);
    }
50367
public function removeTemplateEntity(
        ?TemplateEntityInterface $templateEntity = null,
        bool $recip = true
    ): self {
        if (
            $this instanceof ReciprocatesTemplateEntityInterface
            && true === $recip
        ) {
            if (!$templateEntity instanceof EntityInterface) {
                $templateEntity = $this->getTemplateEntity();
            }
            $remover = 'remove' . self::getDoctrineStaticMeta()->getSingular();
            if (false !== method_exists($templateEntity, $remover)) {
                $templateEntity->$remover($this, false);
            }
        }

        return $this->setTemplateEntity(null, false);
    }
637635
def remove_step_method(self, step_method):
        
        try:
            for s in step_method.stochastics:
                self.step_method_dict[s].remove(step_method)
            if hasattr(self, "step_methods"):
                self.step_methods.discard(step_method)
            self._sm_assigned = False
        except AttributeError:
            for sm in step_method:
                self.remove_step_method(sm)
682950
public function removeSeedBatch(\Librinfo\SeedBatchBundle\Entity\SeedBatch $seedBatch)
    {
        return $this->seedBatches->removeElement($seedBatch);
    }
1233904
public function removeStartTask(\Stackable $task) {
        if ($this->workerStartTasks->contains($task)) {
            $this->workerStartTasks->detach($task);
        }
    }
654337
public function remove(Games_PushTokenId $postBody, $optParams = array())
  {
    $params = array('postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('remove', array($params));
  }
1284423
public function _beforeStep(Step $step)
    {
        if ($step->getAction() === 'click') {
            $this->debug('Waiting for nprogress to hide...');
            $this->getModule('WebDriver')->waitForElementNotVisible('#nprogress', 10);
        }
    }
1066229
public function removeProductorder(\Flowcode\ShopBundle\Entity\ProductOrder $productorders)
    {
        $this->productorders->removeElement($productorders);
    }
428202
public function addStep(Step $step)
    {
        if (!$this->steps->contains($step)) {
            $this->steps->add($step);
        }

        return $this;
    }
38286
public static function stepDown($step, $distance = 1) {
        $steps = 'CBAGFEDCBAGFEDC';
        $distance = $distance % 7;
        $pos = strpos($steps, $step);
        return substr($steps, $pos+$distance, 1);
    }
1059040
public void remove(Endpoint follower) {
        FollowerState removed = followerStates.remove(follower);
        assert removed != null : "Unknown follower " + follower;
    }