The Yaf_Registry class

(Yaf >=1.0.0)

Introduction

All methods of Yaf_Registry declared as static, making it unversally accessible. This provides the ability to get or set any custom data from anyway in your code as necessary.

Class synopsis

classYaf_Registry {
static$_instance;
protected$_entries;
private__construct()
publicstaticdel(string$name): void
publicstaticget(string$name): mixed
publicstatichas(string$name): bool
publicstaticset(string$name, string$value): bool
}

Properties

_instance

_entries

Table of Contents

To Top