LaysenseAuth/vendor/cakephp/core
2024-08-09 22:16:39 +08:00
..
Configure INIT 2024-08-09 22:16:39 +08:00
Exception INIT 2024-08-09 22:16:39 +08:00
Retry INIT 2024-08-09 22:16:39 +08:00
TestSuite INIT 2024-08-09 22:16:39 +08:00
App.php INIT 2024-08-09 22:16:39 +08:00
BasePlugin.php INIT 2024-08-09 22:16:39 +08:00
ClassLoader.php INIT 2024-08-09 22:16:39 +08:00
composer.json INIT 2024-08-09 22:16:39 +08:00
Configure.php INIT 2024-08-09 22:16:39 +08:00
ConsoleApplicationInterface.php INIT 2024-08-09 22:16:39 +08:00
Container.php INIT 2024-08-09 22:16:39 +08:00
ContainerApplicationInterface.php INIT 2024-08-09 22:16:39 +08:00
ContainerInterface.php INIT 2024-08-09 22:16:39 +08:00
ConventionsTrait.php INIT 2024-08-09 22:16:39 +08:00
functions_global.php INIT 2024-08-09 22:16:39 +08:00
functions.php INIT 2024-08-09 22:16:39 +08:00
HttpApplicationInterface.php INIT 2024-08-09 22:16:39 +08:00
InstanceConfigTrait.php INIT 2024-08-09 22:16:39 +08:00
LICENSE.txt INIT 2024-08-09 22:16:39 +08:00
ObjectRegistry.php INIT 2024-08-09 22:16:39 +08:00
Plugin.php INIT 2024-08-09 22:16:39 +08:00
PluginApplicationInterface.php INIT 2024-08-09 22:16:39 +08:00
PluginCollection.php INIT 2024-08-09 22:16:39 +08:00
PluginInterface.php INIT 2024-08-09 22:16:39 +08:00
README.md INIT 2024-08-09 22:16:39 +08:00
ServiceConfig.php INIT 2024-08-09 22:16:39 +08:00
ServiceProvider.php INIT 2024-08-09 22:16:39 +08:00
StaticConfigTrait.php INIT 2024-08-09 22:16:39 +08:00

Total Downloads License

CakePHP Core Classes

A set of classes used for configuration files reading and storing. This repository contains the classes that are used as glue for creating the CakePHP framework.

Usage

You can use the Configure class to store arbitrary configuration data:

use Cake\Core\Configure;
use Cake\Core\Configure\Engine\PhpConfig;

Configure::write('Company.name','Pizza, Inc.');
Configure::read('Company.name'); // Returns: 'Pizza, Inc.'

It also possible to load configuration from external files:

Configure::config('default', new PhpConfig('/path/to/config/folder'));
Configure::load('app', 'default', false);
Configure::load('other_config', 'default');

And write the configuration back into files:

Configure::dump('my_config', 'default');

Documentation

Please make sure you check the official documentation