Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Yaf_Dispatcher::throwExceptionYaf_Config_Abstract::get>
^YafLast updated: Mon, 26 Oct 2026

The Yaf_Config_Abstract class

(Yaf >=1.0.0)

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

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
}

Properties

_config

_readonly

Table of Contents


<Yaf_Dispatcher::throwExceptionYaf_Config_Abstract::get>
^YafLast updated: Mon, 26 Oct 2026