CakeFest 2024: The Official CakePHP Conference

The Yaconf class

(PECL yaconf >= 1.0.0)

Introduction

Yaconf is a configurations container, it parses INIT files, stores the result in PHP when PHP is started, the result lives with the whole PHP lifecycle.

Class synopsis

class Yaconf {
/* Methods */
public static get(string $name, mixed $default_value = NULL): mixed
public static has(string $name): bool
}

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top