yii\web\UrlRuleInterface::createUrl PHP Method

createUrl() public method

Creates a URL according to the given route and parameters.
public createUrl ( UrlManager $manager, string $route, array $params ) : string | boolean
$manager UrlManager the URL manager
$route string the route. It should not have slashes at the beginning or the end.
$params array the parameters
return string | boolean the created URL, or false if this rule cannot be used for creating this URL.
    public function createUrl($manager, $route, $params);