Javatpoint Logo
Javatpoint Logo

Phalcon Configuration

It is a component which is used to convert configuration files into PHP. Its directory location is Phalcon\Config.

Implementation

Example: To convert native array into Phalcon\Config Objects.


File Adapters

Class Description
Phalcon\Config\Adapter\Ini Uses INI files to store settings. Internally the adapter uses the PHP function parse_ini_file.
Phalcon\Config\Adapter\Json Uses JSON files to store settings.
Phalcon\Config\Adapter\Php Uses PHP multidimensional arrays to store settings. This adapter offers the best performance.
Phalcon\Config\Adapter\Yaml Uses YAML files to store settings.





Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA