class LinkGenerator

Link generator.

Traits

Strict class for better experience.

Methods

__construct(Router $router, UrlScript $refUrl, IPresenterFactory $presenterFactory = null)

No description

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

Generates URL to presenter.

Details

at line 33
__construct(Router $router, UrlScript $refUrl, IPresenterFactory $presenterFactory = null)

Parameters

Router $router
UrlScript $refUrl
IPresenterFactory $presenterFactory

Generates URL to presenter.

Parameters

string $dest
array $params

Return Value

string

Exceptions

InvalidLinkException