src/Rentgen/Database/Constraint/ForeignKey.php
public function setUpdateAction($updateAction)
    {
        $updateAction = strtoupper($updateAction);
        if (!in_array($updateAction, $this->getAvailableActions())) {
            throw new \InvalidArgumentException(sprintf('Action %s does not exist.', $updateAction));
        }
        $this->updateAction = $updateAction;
    }
public function setUpdateAction($updateAction)
    {
        $updateAction = strtoupper($updateAction);
        if (!in_array($updateAction, $this->getAvailableActions())) {
            throw new \InvalidArgumentException(sprintf('Action %s does not exist.', $updateAction));
        }
        $this->updateAction = $updateAction;
    }
Sets an update action.

@param string $updateAction Update action.

@throws InvalidArgumentException If the provided argument is not of action type.

@return void