class UrlGenerator (View source)

Properties

protected Model $model

The instance of the model.

protected $defaultLanguage

The default language.

Methods

__construct()

Construct the class.

void
handle(Model $model)

Handle the URL generation.

void
createUrl(string $value)

Create default url from an attribute.

Details

__construct()

Construct the class.

void handle(Model $model)

Handle the URL generation.

Parameters

Model $model

Return Value

void

protected void createUrl(string $value)

Create default url from an attribute.

Parameters

string $value

Return Value

void