The Yaf_Registry class

(Yaf >=1.0.0)

锟斤拷锟�

Yaf_Registry, 锟斤拷锟斤拷注锟斤拷锟�(锟斤拷贫锟斤拷锟街匡拷)锟斤拷一锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷应锟矫空硷拷(application space)锟节存储锟斤拷锟斤拷锟街碉拷锟斤拷锟斤拷锟�. 通锟斤拷锟窖讹拷锟斤拷娲拷锟斤拷锟斤拷锟�,锟斤拷锟角匡拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷目锟斤拷锟轿何地凤拷使锟斤拷同一锟斤拷锟斤拷锟斤拷.锟斤拷锟街伙拷锟斤拷锟洁当锟斤拷一锟斤拷全锟街存储. 锟斤拷锟角匡拷锟斤拷通锟斤拷Yaf_Registry锟斤拷木锟教拷锟斤拷锟斤拷锟绞癸拷枚锟斤拷锟阶拷锟斤拷. 锟斤拷锟斤拷,锟斤拷锟节革拷锟斤拷锟斤拷一锟斤拷锟斤拷锟斤拷锟斤拷锟�,锟斤拷锟斤拷锟绞癸拷锟斤拷锟斤拷锟斤拷锟绞斤拷锟斤拷锟斤拷锟斤拷锟斤拷械锟斤拷喾斤拷锟�

锟斤拷摘要

Yaf_Registry {
/* 锟斤拷锟斤拷 */
static $_instance ;
protected $_entries ;
/* 锟斤拷锟斤拷 */
private __clone ( void ) : void
__construct ( void )
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

Table of Contents