PHP Interface Sulu\Component\CustomUrl\Generator\GeneratorInterface

Exibir arquivo Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
generate ( $baseDomain, $domainParts, Localization $locale = null ) : string Generates urls for given base-domain and domain-parts.

Method Details

generate() public method

If locales are passed the urls will be localized by replacers after generation.
public generate ( $baseDomain, $domainParts, Localization $locale = null ) : string
$baseDomain
$domainParts
$locale Sulu\Component\Localization\Localization
return string