PHP 8.3.4 Released!

Yaf_Registry クラス

(Yaf >=1.0.0)

はじめに

Yaf_Registry のすべてのメソッドはstaticメソッドとして宣言されており、 どこからでもアクセスできます。これを使えば、コードのどこからでも必要に応じて 任意のデータを保存したり取得したりすることができます。

クラス概要

class Yaf_Registry {
/* プロパティ */
static $_instance;
protected $_entries;
/* メソッド */
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
}

プロパティ

_instance

_entries

目次

add a note

User Contributed Notes

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