You are here

public function Candidates::setLocales in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Candidates

Code

public function setLocales(array $locales) {
  $this->locales = $locales;
}