@param string $name

@return string|null
773279
public function getToken($name = 'token')
    {
        if ($token = $this->get($name, '')) {
            return $token;
        } elseif ($token = $this->getServer('HTTP_AUTHORIZATION')) {
            $parts = explode(' ', $token, 2);
            if ($parts[0] === 'Bearer' && count($parts) === 2) {
                return $parts[1];
            }
        }

        return null;
    }
642657
public static function get($name)
    {
        if (isset(self::$_cached_settings[$name])) {
            return self::$_cached_settings[$name];
        }
        return NULL;
    }
1326705
public function getParam ($name)
		{
			if (isset( $this->_params[ $name ] ))
				return $this->_params[ $name ];
			else
				return null;
		}
771067
public function getDomain($name)
    {
        if (isset($this->domainMap[$name])) {
            return $this->domainMap[$name];
        }

        return null;
    }
1146322
public static function get($name) 
    {
        self::load();
        if (!array_key_exists($name, self::$_factories)) {
            return null;
        }
        return self::$_factories[$name];
    }
182042
public function getParam($name) {
		if(isset($this->payload['params'][$name])) {
			return $this->payload['params'][$name];
		}
		return NULL;
	}
167596
public function get($name)
    {
        if (!isset($this->values[$name])) {
            return null;
        }
        return $this->values[$name];
    }
705781
protected function getParameter($name)
    {
        return array_key_exists($name, $this->templateVars)?$this->templateVars[$name]:null;
    }
167144
public function getParameterValue($name)
    {
        return (isset($this->attributes[$name])) ? $this->attributes[$name] : null;
    }
1213223
final public function getCache($name) {
	
		return ((is_array($this->cache) and array_key_exists($name, $this->cache)) ? $this->cache[$name] : NULL);
	
	}
316640
protected function get($name)
    {
        return isset($this->receivers[$name]) ? $this->receivers[$name] : null;
    }
1141060
public function get($name) {

		if ( array_key_exists( $name, $this->_properties )) {
			return $this->_properties[$name];

		} else if ( isset($this->$name) ) {
			return $this->$name;
		}

		return null;
	}
402552
public function getRoutePath($name)
    {
        if (null !== $this->get($name)) {
            return $this->get($name)->getPath();
        }

        return null;
    }
758187
public function getNamedRoute($name)
    {
        $this->getNamedRoutes();
        if ($this->hasNamedRoute($name)) {
            return $this->namedRoutes[(string) $name];
        } else {
            return null;
        }
    }
1183264
public function getExtension(string $name)
    {
        return isset($this->extensions[$name]) ? $this->extensions[$name] : null;
    }
767984
public function getFirstHeader(string $name) : ?string
    {
        $name = strtolower($name);

        return isset($this->headers[$name]) ? reset($this->headers[$name]) : null;
    }
362215
public function getHeaderValue($name)
    {
        $pattern = '#' . $name . ': (.*)#i';
        if (preg_match($pattern, $this->getResponseHeader(), $match)) {
            return $match[1];
        } else {
            return null;
        }
    }