public function destroyManialinkActions(ManialinkInterface $manialink)
    {
        if (isset($this->actionsByManialink[$manialink->getId()])) {
            foreach ($this->actionsByManialink[$manialink->getId()] as $actionId => $action) {
                unset($this->actions[$actionId]);
                unset($this->manialinkByAction[$actionId]);
            }

            unset($this->actionsByManialink[$manialink->getId()]);
        }
    }