RoutingFilter (namespace)

Namespace Cake\Routing\Filter

Class summary

  • Filters a request and tests whether it is a file in the webroot folder or not and serves the file to the client if appropriate.

  • A dispatcher filter that builds the controller to dispatch in the request.

  • Sets the runtime default locale for the request based on the Accept-Language header. The default will only be set if it matches the list of passed valid locales.