class LinkGenerator

Link generator.

Methods

__construct(IRouter $router, Url $refUrl, IPresenterFactory $presenterFactory = null)

No description

string
link($dest, array $params = [])

Generates URL to presenter.

Details

at line 30
__construct(IRouter $router, Url $refUrl, IPresenterFactory $presenterFactory = null)

No description

Parameters

IRouter $router
Url $refUrl
IPresenterFactory $presenterFactory

Generates URL to presenter.

Parameters

$dest
array $params

Return Value

string

Exceptions

InvalidLinkException

Traits

SmartObject