Introduction
PHP Manual
PHP Manual»Yaf»Yaf_Config_Abstract

The Yaf_Config_Abstract class

(Yaf >=1.0.0)

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).

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

_readonly

Table of Contents

To Top