I<
Size: a a a
I<
I<
C
I<
C
C
C
I<
I<
<?php
use \Symfony\Component\HttpFoundation\Request;
$url = '/user/1';
///////////////////
$request = Request::create($url);
$router = \Drupal::service('router.no_access_checks');
$match = [];
try {
$match = $router->matchRequest($request);
}
catch (\Exception $e) {
echo 'No route has been found.';
}
dump($match);
АК
SP
VS