Get extension route.

@param  string  $name
@param  string  $default

@return \Orchestra\Contracts\Extension\UrlGenerator
769192
public function route(string $name, string $default = '/'): UrlGenerator
    {
        // Boot the application.
        $this->boot();

        return parent::route($name, $default);
    }
1183264
public function getExtension(string $name)
    {
        return isset($this->extensions[$name]) ? $this->extensions[$name] : null;
    }
1350772
public function get($name, $default = false) {
        $result = $this->handler->get($name);
        return false !== $result ? $result : $default;
    }
660028
protected function _getOption( $name, $default = null )
	{
		return ( isset( $this->_options[$name] ) ? $this->_options[$name] : $default );
	}
285300
public static function getExtConfig( $name, $default = null )
	{
		if( self::$extConfig === null )
		{
			if( class_exists( '\TYPO3\CMS\Core\Configuration\ExtensionConfiguration' ) ) {
				self::$extConfig = GeneralUtility::makeInstance( 'TYPO3\CMS\Core\Configuration\ExtensionConfiguration' )->get( 'aimeos' );
			} else { // @deprecated Since TYPO3 9.x
				self::$extConfig = unserialize( $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['aimeos'] );
			}
		}

		if( isset( self::$extConfig[$name] ) ) {
			return self::$extConfig[$name];
		}

		return $default;
	}
715926
public static function getExtConf($name, $default = null)
    {
        static $conf = null;
        $ret = $default;

        if ($conf === null) {
            // Load ext conf
            $conf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['metaseo']);
            if (!is_array($conf)) {
                $conf = array();
            }
        }

        if (isset($conf[$name])) {
            $ret = $conf[$name];
        }


        return $ret;
    }
102248
public function get(string $name, $default = null)
    {
        $all = $this->all();

        if (! array_key_exists($name, $all)) {
            return $default;
        }

        return $all[$name];
    }
937646
public function getQuery($name, $default = null)
    {
        return isset($this->gets[$name]) ? $this->gets[$name] : $default;
    }
354900
public function param($name, $default = null)
    {
        return isset($this->parameters[$name]) ? $this->parameters[$name] : $default;
    }
813106
public function getOpt(string $name, $default = null)
    {
        if (isset($name{1})) {
            return $this->getLongOpt($name, $default);
        }

        return $this->getShortOpt($name, $default);
    }
530819
public static function get($name = null, $default = null)
    {
        if (!$name) {
            return self::$config;
        } else {
            $keys = explode('.', $name);
            $ret = self::$config;
            while ($key = array_shift($keys)) {
                if (isset($ret[$key])) {
                    $ret = $ret[$key];
                } else {
                    return $default;
                }
            }

            return $ret;
        }
    }
234843
public function getRequestParameter($name,$default="")
    {
        if(array_key_exists($name, $this->get))
            return $this->get[$name];
        else if(array_key_exists($name, $this->post))
            return $this->post[$name];
        return $default;
    }
1192637
public function get(string $name, $default = null)
    {
        return $this->has($name) ? $this->errorsByField[$name] : $default;
    }
428774
public function getHeader($name, $default = null)
    {
        $context = $this->_context;

        return isset($context->headers[$name]) ? $context->headers[$name] : $default;
    }
326885
public function get($name, $default = null)
    {
        if (isset($this->body[$name])) {
            return $this->body[$name];
        }

        return $default;
    }
368427
private function dispatchUrl($default = '#')
    {
        if ($this->isType('url')) {
            return $this->getProperty('url');
        }

        if ($this->isType('route')) {
            list($route, $parameters) = $this->getProperty('route');

            return route($route, $parameters);
        }

        if ($this->isType('action')) {
            list($action, $parameters) = $this->getProperty('action');

            return action($action, $parameters);
        }

        return $default;
    }
719482
public function getParameter($name, $default = NULL)
	{
		if (isset($this->params[$name])) {
			return $this->params[$name];

		} else {
			return $default;
		}
	}