Home » Phalcon Configuration

Phalcon Configuration

by Online Tutorials Library

Phalcon Configuration

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

Implementation

Example: To convert native array into PhalconConfig Objects.


File Adapters

Class Description
PhalconConfigAdapterIni Uses INI files to store settings. Internally the adapter uses the PHP function parse_ini_file.
PhalconConfigAdapterJson Uses JSON files to store settings.
PhalconConfigAdapterPhp Uses PHP multidimensional arrays to store settings. This adapter offers the best performance.
PhalconConfigAdapterYaml Uses YAML files to store settings.

You may also like