public function Candidates::setLocales in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/Candidates/Candidates.php \Symfony\Cmf\Component\Routing\Candidates\Candidates::setLocales()
Set the locales to support by this strategy.
Parameters
array $locales The locales to support.:
1 call to Candidates::setLocales()
- Candidates::__construct in vendor/
symfony-cmf/ routing/ Candidates/ Candidates.php
File
- vendor/
symfony-cmf/ routing/ Candidates/ Candidates.php, line 57
Class
- Candidates
- A straightforward strategy that splits the URL on "/".
Namespace
Symfony\Cmf\Component\Routing\CandidatesCode
public function setLocales(array $locales) {
$this->locales = $locales;
}