Add securityModules

@param \CampaignChain\CoreBundle\Entity\SecurityModule $securityModules
@return Bundle
554302
public function addSecurityModule(\CampaignChain\CoreBundle\Entity\SecurityModule $securityModules)
    {
        $this->securityModules[] = $securityModules;

        return $this;
    }
177944
protected function setModuleControllers($moduleControllers, $moduleId, $module)
    {

        if ($module->isActive()) {
            $classProviderStorage = $this->getClassProviderStorage();
            $dbMap = $classProviderStorage->get();
            $controllersForThatModuleInDb = isset($dbMap[$moduleId]) ? $dbMap[$moduleId] : [];
            $duplicatedKeys = array_intersect_key(
                array_change_key_case($moduleControllers, CASE_LOWER), $controllersForThatModuleInDb
            );
            if (array_diff_assoc($moduleControllers, $duplicatedKeys)) {
                $this->output->writeLn("$moduleId fix module ModuleControllers");
                $this->deleteModuleControllers($moduleId);
                $this->resetModuleCache($module);
                $this->validateModuleMetadataControllersOnActivation($moduleControllers);

                $classProviderStorage = $this->getClassProviderStorage();

                $classProviderStorage->add($moduleId, $moduleControllers);
                $this->needCacheClear = true;
            }
        } else {
            $moduleCache = oxNew( \OxidEsales\Eshop\Core\Module\ModuleCache::class, $module);
            $moduleInstaller = oxNew(\OxidEsales\Eshop\Core\Module\ModuleInstaller::class, $moduleCache);
            $moduleInstaller->deactivate($module);}
    }
363461
public function addMilestoneModule(\CampaignChain\CoreBundle\Entity\MilestoneModule $milestoneModules)
    {
        $this->milestoneModules[] = $milestoneModules;

        return $this;
    }
661562
def add(env, securitygroup_id, network_component, server, interface):
    """"""
    _validate_args(network_component, server, interface)

    mgr = SoftLayer.NetworkManager(env.client)
    component_id = _get_component_id(env, network_component, server, interface)

    ret = mgr.attach_securitygroup_component(securitygroup_id,
                                             component_id)
    if not ret:
        raise exceptions.CLIAbort("Could not attach network component")

    table = formatting.Table(REQUEST_COLUMNS)
    table.add_row([ret['requestId']])

    env.fout(table)
1325710
public function addModule($module, array $options = NULL) {
		$this->add_to_list($module, new $module($this->server, $this, $options));
    }
93988
public function addActivityModule(\CampaignChain\CoreBundle\Entity\ActivityModule $activityModules)
    {
        $this->activityModules[] = $activityModules;

        return $this;
    }
87687
public void setSecurityGroupArns(java.util.Collection<String> securityGroupArns) {
        if (securityGroupArns == null) {
            this.securityGroupArns = null;
            return;
        }

        this.securityGroupArns = new java.util.ArrayList<String>(securityGroupArns);
    }
494075
public Governator addModules(List<Module> modules) {
        if (modules != null) {
            this.modules.addAll(modules);
        }
        return this;
    }
1018522
private function registerModulePermissions()
    {
        foreach ($this->app['modules']->enabled() as $module) {
            if ($this->app['society.isInstalled']) {
                $permissionManager = new PermissionManager();
                $permissionManager->registerDefault($module);
            }
        }
    }
78995
public function addChannelModule(\CampaignChain\CoreBundle\Entity\ChannelModule $channelModules)
    {
        $this->channelModules[] = $channelModules;

        return $this;
    }
57131
public function addModule($module)
    {
        if (!($module instanceof ModuleInterface)) {
            $module = new Module($module);
        }

        return ($this->modules[$module->getName()] = $module);
    }
26536
public function addToList(\BFW\Install\ModuleInstall $module): self
    {
        $moduleName = $module->getName();
        
        $this->listToInstall[$moduleName] = $module;
        
        return $this;
    }
320446
public final function registerModule(Module $module)
    {
        $dependencies = $module->getModules();

        foreach($dependencies as $dependency){
            $this->registerModule($dependency);
        }

        $this->modules[$module->getModuleName()] = $module;
    }
711525
protected function _addModuleFiles($aModuleFiles, $sModuleId)
    {
        $aFiles = (array) \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aModuleFiles');

        if (is_array($aModuleFiles)) {
            $aFiles[$sModuleId] = array_change_key_case($aModuleFiles, CASE_LOWER);
        }

        $this->_saveToConfig('aModuleFiles', $aFiles);
    }
817270
public function setSmtpSecurity($security)
    {
        $security = strtoupper($security);
        $validSecurity = [ '', 'TLS', 'SSL' ];

        if (!in_array($security, $validSecurity)) {
            throw new InvalidArgumentException(
                'SMTP Security is not valid. Must be "", "TLS" or "SSL".'
            );
        }

        $this->smtpSecurity = $security;

        return $this;
    }
976762
public function addSecuritySettingParser(SecuritySettingsParserInterface $securitySettingsParser)
    {
        foreach ($securitySettingsParser->getCompatibleTypes() as $contentType) {
            $this->securitySettingsParsers[$contentType] = $securitySettingsParser;
        }
    }
1078128
public function addLocationModule(\CampaignChain\CoreBundle\Entity\LocationModule $locationModules)
    {
        $this->locationModules[] = $locationModules;

        return $this;
    }