PHP 8.4.0 RC2 available for testing

The Yaf_Registry class

(Yaf >=1.0.0)

Giriş

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.

Sınıf Sözdizimi

class Yaf_Registry {
/* Özellikler */
static $_instance;
protected $_entries;
/* Yöntemler */
private __construct()
public static del(string $name): void
public static get(string $name): mixed
public static has(string $name): bool
public static set(string $name, string $value): bool
}

Özellikler

_instance

_entries

İçindekiler

add a note

User Contributed Notes

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