Fr3nch13/CakePHP Utilities

LocaleSelectorMiddleware.php

CakePHP(tm) : Rapid Development Framework (https://cakephp.org) Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)

Licensed under The MIT License Redistributions of files must retain the above copyright notice.

Tags
copyright

Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)

link

CakePHP(tm) Project

since
3.3.0
license

https://opensource.org/licenses/mit-license.php MIT License

Table of Contents

Classes

LocaleSelectorMiddleware
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.

        
On this page

Search results