@param string $name

@return string|null
519198
public function getOption($name)
    {
        if (isset($this->options[$name])) {
            return $this->options[$name];
        }
        return false;
    }
682946
public function getHeader($name){
        $headers= $this->getHeaders();
        if(isset($headers[$name])){
            return $headers[$name];
        }else{
            return NULL;
        }
    }
53052
protected function getField($name)
    {
        $name = ltrim($name, '/');

        foreach ($this->fields as $field) {
            if (preg_match('#^' . ltrim($field->getName(), '/') . '$#', $name)) {
                return $field;
            }
        }

        return null;
    }
976699
public function get($name)
    {
        if (is_null($name) || empty($name))
        {
            return null;
        }

        $loweredKey = strtolower($name);

        if (array_key_exists($loweredKey, $this->keyMap) === false)
        {
            return null;
        }

        $originalKey = $this->keyMap[$loweredKey];

        return $this->headerMap[$originalKey];
    }
557573
public function get($name) {
        return isset($this->metadata[$name]) ? $this->metadata[$name] : null;
    }
763179
public function GetHeader ($name) {
		return isset($this->headers[$name]) 
			? $this->headers[$name] 
			: NULL;
	}
367742
public static function get(string $name): ?string
    {
        $data = Session::get($name, null, self::$namespace);
        if (is_array($data) && array_key_exists('token', $data)) {
            return $data['token'];
        }
        return null;
    }
950682
public function getByName($name)
    {
        return isset($this->names[$name]) ? $this->names[$name] : null;
    }
1094287
public function getParameterTemplate($name)
    {
        if ($this->hasParametersTemplates()) {
            foreach ($this->getParametersTemplates() as $parameterTemplate) {
                if ($parameterTemplate->name === $name) {
                    return $parameterTemplate;
                }
            }
        }
        return null;
    }
1146322
public static function get($name) 
    {
        self::load();
        if (!array_key_exists($name, self::$_factories)) {
            return null;
        }
        return self::$_factories[$name];
    }
1206724
public function get(string $name)
    {
        return isset($this->headers[$name]) ? $this->headers[$name] : null;
    }
840717
protected function doGet(string $name)
    {
        return isset($this->values[$name]) ? $this->values[$name] : null;
    }
771067
public function getDomain($name)
    {
        if (isset($this->domainMap[$name])) {
            return $this->domainMap[$name];
        }

        return null;
    }
936678
protected function get(string $name)
    {
        $name[0] = strtolower($name[0]);

        return $this->list[$name] ?? null;
    }
145210
public function getParam($name)
    {
        if ( ! is_string($name) || ! isset($this->data[$name])) {
            return null;
        }

        return $this->data[$name];
    }
520021
public function getField( $name )
	{
		if( !$this->hasField( $name ) )
			return NULL;
		$values	= $this->getFieldsByName( $name );
		return array_shift( $values );
	}
387488
public final function getHeaderValue($name)
    {
        self::checkString($name);

        foreach ($this->_headers as $headerName => $headerValue) {

            if (strcasecmp($name, $headerName) === 0) {

                return $headerValue;
            }
        }

        return null;
    }