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