You are here

protected property Candidates::$limit 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::limit

A limit to apply to the number of candidates generated.

This is to prevent abusive requests with a lot of "/". The limit is per batch, that is if a locale matches you could get as many as 2 * $limit candidates if the URL has that many slashes.

Type: int

File

vendor/symfony-cmf/routing/Candidates/Candidates.php, line 40

Class

Candidates
A straightforward strategy that splits the URL on "/".

Namespace

Symfony\Cmf\Component\Routing\Candidates

Code

protected $limit;