Override: do not use peering service managers

@param  string|array $name
@param  bool         $checkAbstractFactories
@param  bool         $usePeeringServiceManagers
@return bool
967477
public function has($name, $checkAbstractFactories = true, $usePeeringServiceManagers = false)
    {
        return parent::has($name, $checkAbstractFactories, $usePeeringServiceManagers);
    }
607134
public static CmsMenuItemVisibilityMode visibilityCheckHasModule(String name) {

        if (OpenCms.getModuleManager().hasModule(name)) {
            return CmsMenuItemVisibilityMode.VISIBILITY_ACTIVE;
        } else {
            return CmsMenuItemVisibilityMode.VISIBILITY_INVISIBLE;
        }
    }
1008207
public function ensureRoleExists( $name )
    {
         /** @var \eZ\Publish\API\Repository\Repository $repository */
        $repository = $this->getRepository();
        $that = $this;
        $role = $repository->sudo(
            function() use( $repository, $name, $that )
            {
                $role = null;
                $roleService = $repository->getRoleService();

                // make sure role name starts with uppercase as this is what default setup provides
                if ($name !== ucfirst($name)) {
                    @trigger_error(
                        "'{$name}' role name should start with uppercase letter",
                        E_USER_DEPRECATED
                    );
                }

                try
                {
                    $role = $roleService->loadRoleByIdentifier(ucfirst($name));
                }
                catch ( ApiExceptions\NotFoundException $e )
                {
                    $roleCreateStruct = $roleService->newRoleCreateStruct(ucfirst($name));
                    $roleDraft = $roleService->createRole( $roleCreateStruct );
                    $roleService->publishRoleDraft($roleDraft);
                    $role = $roleService->loadRole($roleDraft->id);
                    $that->addObjectToList( $role );
                }

                return $role;
            }
        );

        return $role;
    }
315944
public function check($name, $parameters)
    {
        $parameters = func_get_args();

        // Remove $name
        array_shift($parameters);

        return call_user_func_array($this->conditions[$name], $parameters);
    }
128418
private function hasNameConflict(NodeInterface $parentNode, $name, NodeInterface $forNode = null)
    {
        return $parentNode->hasNode($name) && (!$forNode || $parentNode->getNode($name) !== $forNode);
    }
977571
public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
    {
        try {
            $identifiers = self::splitIntoIdentifiers($requestedName);
        } catch (ProcessException $e) {
            return false;
        }
        
        return $this->getDatatypesHandler($serviceLocator)->hasDataType($identifiers['mode'], $identifiers['type'], $identifiers['endpoint']);
    }
119128
public function isComponentVerified(string $name, Request $request, Component $parent): bool
    {
        $reflection = new ComponentReflection($parent);
        $method = 'createComponent'.ucfirst($name);
        if ($reflection->hasMethod($method)) {
            $factory = $reflection->getMethod($method);
            try {
                $this->checkReflection($factory, $request, $parent->getParent() !== null ? $parent->getUniqueId() : null);
            } catch (VerificationException $e) {
                return false;
            }
        }

        return true;
    }
85038
public function deleteBlob($container, $name, $noCheck = false)
    {
        try {
            $this->checkConnection();
            $this->blobConn->deleteBlob($container, $this->fixBlobName($name));
        } catch (\Exception $ex) {
            if ($ex instanceof ServiceException) {
                if ($ex->getCode() === HttpStatusCodes::HTTP_NOT_FOUND) {
                    if ($noCheck) {
                        return;
                    }
                    throw new NotFoundException("File '$name' was not found.'");
                }
            }
            throw new DfException('Failed to delete blob "' . $name . '": ' . $ex->getMessage());
        }
    }
247914
public function storageServiceExists($name)
    {
        $result = $this->_proxy->listStorageServices();
        $storageServices = $result->getStorageServices();

        foreach ($storageServices as $storageService) {
            if ($storageService->getName() == $name) {
                return true;
            }
        }

        return false;
    }
859268
public function setShared(string $name, bool $flag)
    {
        if (isset($this->services[$name]) && ! $this->allowOverride) {
            throw ContainerModificationsNotAllowedException::fromExistingService($name);
        }
        $this->shared[$name] = $flag;
    }
335885
@Override
    public void destroyConnectionFactories() {
        final boolean trace = TraceComponent.isAnyTracingEnabled();
        if (trace && tc.isEntryEnabled()) {
            final String pmName;
            if (pm != null)
                pmName = pm.getUniqueId();
            else
                pmName = "factory name not avaiable";
            Tr.entry(this, tc, "destroyConnectionFactories", pmName);
        }

        lock.writeLock().lock();
        try {
            if (pmMBean != null) {
                pmMBean.unregister();
                pmMBean = null;
            }
            if (pm != null) {
                try {
                    pm.serverShutDown();
                    pm = null;
                    cfKeyToCM.clear();
                } catch (Throwable x) {
                    FFDCFilter.processException(x, getClass().getName(), "263", this);
                    if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                        Tr.debug(this, tc, x.getMessage(), CommonFunction.stackTraceToString(x));
                }
            }
        } finally {
            lock.writeLock().unlock();
        }
        if (trace && tc.isEntryEnabled())
            Tr.exit(this, tc, "destroyConnectionFactories");
    }
870687
public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
    {
        if (is_null($this->cachedFileGateway)) {
            $this->cachedFileGateway = new FileGateway(
                $serviceLocator->get('prooph.link.fileconnector.file_type_adapter_manager'),
                $serviceLocator->get('prooph.link.fileconnector.filename_renderer'),
                $serviceLocator->get('prooph.link.app.location_translator')
            );
        }

        return $this->cachedFileGateway;
    }
756557
public static function hasPublicAction(AbstractConnector $connector, string $connectorName, string $action)
    {
        //====================================================================//
        // Safety Check - Connector Exists
        if (empty($connector) || empty($action)) {
            return false;
        }
        //====================================================================//
        // Safety Check - Connector Name is Similar
        $profile = $connector->getProfile();
        if (!isset($profile['name']) || (strtolower($connectorName) != strtolower($profile['name']))) {
            return false;
        }
        //====================================================================//
        // Safety Check - Connector Action Exists
        $connectorActions = $connector->getPublicActions();
        if (!isset($connectorActions[strtolower($action)]) || empty($connectorActions[strtolower($action)])) {
            return false;
        }

        return $connectorActions[strtolower($action)];
    }
1168854
public function unbindExchange($destinationName, $sourceName, $routingKey = '')
    {
        // WARNING: only amqp 1.6.0 and above supports exchange unbinding
        if (phpversion('amqp') <= '1.4.0') {
            return;
        }

        $exchange = $this->produceExchangeInstance($destinationName);

        $exchange->unbind($sourceName, $routingKey);
    }
294050
public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
    {
        if (strpos($requestedName, 'sqlconnector:::') === 0) {
            /** @var $config ProcessingConfig */
            $config = $serviceLocator->get("processing_config");

            return isset($config->getConnectors()[$requestedName]);
        }

        return false;
    }
986164
public function registerBasicValidator($name, $url, $propagatedUrlParameters = null) {
		$this->validators[] = new MoufBasicValidationProvider($name, $url, $propagatedUrlParameters);
	}
1070789
public function route($name, array $params = [], $absolute = false)
    {
        $route = $this->router->route($name, $params);
        return $absolute
            ? $this->request->getSchemeAndHttpHost() . $route
            : $route;
    }