__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Part of the Joomla Framework Router Package
*
* @copyright Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
namespace Joomla\Router;
/**
* An object representing a resolved route.
*
* @since 2.0.0
*/
class ResolvedRoute
{
/**
* The controller which handles this route
*
* @var mixed
* @since 2.0.0
*/
private $controller;
/**
* The variables matched by the route
*
* @var array
* @since 2.0.0
*/
private $routeVariables;
/**
* The URI for this route
*
* @var string
* @since 2.0.0
*/
private $uri;
/**
* Constructor.
*
* @param mixed $controller The controller which handles this route
* @param array $routeVariables The variables matched by the route
* @param string $uri The URI for this route
*
* @since 2.0.0
*/
public function __construct($controller, array $routeVariables, string $uri)
{
$this->controller = $controller;
$this->routeVariables = $routeVariables;
$this->uri = $uri;
}
/**
* Retrieve the controller which handles this route
*
* @return mixed
*
* @since 2.0.0
*/
public function getController()
{
return $this->controller;
}
/**
* Retrieve the variables matched by the route
*
* @return array
*
* @since 2.0.0
*/
public function getRouteVariables(): array
{
return $this->routeVariables;
}
/**
* Retrieve the URI for this route
*
* @return string
*
* @since 2.0.0
*/
public function getUri(): string
{
return $this->uri;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Command | Folder | 0775 |
|
|
| Exception | Folder | 0775 |
|
|
| ResolvedRoute.php | File | 1.62 KB | 0664 |
|
| Route.php | File | 8.92 KB | 0664 |
|
| Router.php | File | 10.5 KB | 0664 |
|
| RouterInterface.php | File | 6.52 KB | 0664 |
|