AM
Size: a a a
AM
ZP
T
ZP
AM
AM
T
AM
AM
ZP
T
DS
Route::anyMethod('/profile/{action:\w+}', function (Psr\Container\ContainerInterface $container) {
$injector = new \Yiisoft\Injector\Injector($container);
return $injector->make(WebActionsCaller::class,['class' => ProfileController::class]);
})->name('profile')
$currentUrl = $url->generate($urlMatcher->getCurrentRoute()->getName());
profile
expects at least parameter values for [action], but received [], хотя урл выглядит так: /profile/emailRoute::anyMethod('/profile/{action:\w+}', function (Psr\Container\ContainerInterface $container) {
return new WebActionsCaller(ProfileController::class, $container);
})->name('profile')
Д
AM
AM
AM
AM
Д
Д
T
Route::anyMethod('/profile/{action:\w+}', function (Psr\Container\ContainerInterface $container) {
return new WebActionsCaller(ProfileController::class, $container);
})->name('profile')