@param string $name

@return EnvironmentAdapter|null
480247
private function detectByName($name)
    {
        $detectedAdapter = null;

        foreach ($this->adapters as $adapter) {
            if ($adapter->getName() === $name) {
                $detectedAdapter = $adapter;
                break;
            }
        }

        return $detectedAdapter;
    }
943039
public function getVariable(string $name)
    {
        switch (true) {
            case array_key_exists($name, $_ENV):
                return $_ENV[$name];
            case array_key_exists($name, $_SERVER):
                return $_SERVER[$name];
            default:
                $value = getenv($name);

                return $value === false ? null : $value;
        }
    }
642657
public static function get($name)
    {
        if (isset(self::$_cached_settings[$name])) {
            return self::$_cached_settings[$name];
        }
        return NULL;
    }
870925
public function getProperty($name) {
        if (!isset($this->mapping['properties'][$name]))
            return null;

        if (!isset($this->properties[$name]))
            $this->properties[$name] = new PropertyMapping($this, $this->mapping['properties'][$name]);

        return $this->properties[$name];
    }
242806
public function getAdapterClass($name = null)
    {
        if (null === $name) {
            $name = $this->getDefaultDatasource();
        }

        return $this->adapterClasses[$name];
    }
1138597
protected function getEnvName($name)
    {
        if (is_array($name)) {
            return array_map(array($this, __METHOD__), $name);
        } else {
            $prefix = $this->envVariablePrefix;
            if (!empty($prefix)) {
                $prefix .= '_';
            }

            return strtoupper($prefix . $name);
        }
    }
190938
public static function get($name = null)
    {
        if ($name === null) {
            $name = array_shift(array_keys(self::$containers));
        }
        return self::$containers[$name] ? self::$containers[$name] : null;
    }
348558
public function getDefault($name)
    {
        return isset($this->defaults[$name]) ? $this->defaults[$name] : null;
    }
290035
final protected function getMetadata($name)
    {
        return isset($this->metadata[$name]) ? $this->metadata[$name] : null;
    }
1345611
protected function getClass($name)
    {
        if (empty($this->adapters[$name])) {
            throw new \RuntimeException(sprintf(
                'Adapter "%s" has not been registered',
                $name
            ));
        }

        return $this->adapters[$name];
    }
349333
public static function get(string $name): ?string
    {
        if (isset($_ENV[$name])) {
            return $_ENV[$name];
        }

        if (isset($_SERVER[$name])) {
            return $_SERVER[$name];
        }

        $value = \getenv($name);

        return $value === false ? null : $value; // switch getenv default to null
    }
1159434
public function get($name)
    {
        $name = $this->cleanAttributeName($name);

        return isset($this->props[$name]) ? $this->props[$name] : null;
    }
196262
public function getAdapter(string $name): DatabaseImportExportAdapterInterface
    {
        if (!array_key_exists($name, $this->adapters)) {
            throw new Exception\DomainException("Database import/export adapter not found by name \"$name\".");
        }

        return $this->adapters[$name];
    }
205503
public function getCleanParam($name){
        if(isset($this->getParams[$name])){            
            return Security::clean_vars($this->getParams[$name]);
        }else{
            return NULL;
        }
    }
5104
public function getResource($name = null)
    {
        if (null === $name) {
            $name = $this->config->getResourceName();
        }
        if (isset($this->resources[$name])) {
            return $this->resources[$name];
        }
        return null;
    }
401892
public static function getGlobal(string $name)
    {
        if (isset(self::$globalOptions[$name])) {
            return self::$globalOptions[$name];
        } else {
            return null;
        }
    }
739166
public function getFilter($name)
    {
        $filter = null;
        if(isset($this->_filters[$name])) {
            $filter = $this->_filters[$name];
        }

        return $filter;
    }