Menu

## Feature extends BaseConfig
in package

Feature.php : 10

Enable/disable backward compatibility breaking features.

### Table of Contents

#### Properties

$autoRoutesImproved : bool
  Use improved new auto routing instead of the legacy version.
$limitZeroAsAll : bool
  The behavior of `limit(0)` in Query Builder.
$oldFilterOrder : bool
  Use filter execution order in 4.4 or before.
$strictLocaleNegotiation : bool
  Use strict location negotiation.

### Properties

#### $autoRoutesImproved

Feature.php : 15

Use improved new auto routing instead of the legacy version.

`public bool $autoRoutesImproved = true`

#### $limitZeroAsAll

Feature.php : 28

The behavior of `limit(0)` in Query Builder.

`public bool $limitZeroAsAll = true`

If true, `limit(0)` returns all records. (the behavior of 4.4.x or before in version 4.x.) If false, `limit(0)` returns no records. (the behavior of 3.1.9 or later in version 3.x.)

#### $oldFilterOrder

Feature.php : 20

Use filter execution order in 4.4 or before.

`public bool $oldFilterOrder = false`

#### $strictLocaleNegotiation

Feature.php : 36

Use strict location negotiation.

`public bool $strictLocaleNegotiation = false`

By default, the locale is selected based on a loose comparison of the language code (ISO 639-1) Enabling strict comparison will also consider the region code (ISO 3166-1 alpha-2).

## Search results