php8.5
Home/ Manual/ reference / yaf/ The Yaf_Config_Simple class

The Yaf_Config_Simple class

Yaf_Config_Simple is a configuration adapter backed by a PHP array (or, optionally, an INI file). In contrast to Yaf_Config_Ini it is mutable by default: values can be changed at runtime, which makes it suitable both for programmatically built configuration and for configuration that needs to be adjusted during the request.

Intro

Yaf_Config_Simple is a configuration adapter backed by a PHP array (or, optionally, an INI file). In contrast to Yaf_Config_Ini it is mutable by default: values can be changed at runtime, which makes it suitable both for programmatically built configuration and for configuration that needs to be adjusted during the request.

Class synopsis

class Yaf_Config_Simple { }

Properties

_config
_readonly

Yaf-config-simple

Source: reference/yaf/yaf-config-simple.xml · from the official PHP manual (php/doc-en)