AM
Size: a a a
AM
AM
AM
Д
AM
Д
Д
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/emailД
Д
Д
ZP
Д
ZP
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/email$currentUrl = $url->generate($urlMatcher->getCurrentRoute()->getName(), ['action' => 'youraction']);
AM
$currentUrl = $url->generate($urlMatcher->getCurrentRoute()->getName(), ['action' => 'youraction']);
Д
$currentUrl = $url->generate($urlMatcher->getCurrentRoute()->getName(), ['action' => 'youraction']);
AM
AM
AM