The Yaf_Config_Abstract class

Introduction

Yaf_Config_Abstract is the base class of the configuration adapters. It provides a uniform way to access a set of configuration values through nested property syntax ($config->section->key), array access and iteration. Concrete implementations are Yaf_Config_Ini (read-only, INI files with section inheritance) and Yaf_Config_Simple (PHP arrays, mutable).

Class synopsis

Yaf_Config_Abstract
abstract class Yaf_Config_Abstract {
/* Properties */
protected $_config;
protected $_readonly;
/* Methods */
public mixed get(string $name = NULL)
abstract public bool readonly()
abstract public bool set(string $name, mixed $value)
public array toArray()
}

Properties

_config

_readonly

Table of Contents