PHP 클래스 Redaxscript\Registry

부터: 2.1.0
저자: Gary Aylward
상속: extends Singleton
파일 보기 프로젝트 열기: redaxmedia/redaxscript 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_registryArray array array of the registry

공개 메소드들

메소드 설명
get ( string $key = null ) : mixed get item from registry
init ( array $registryArray = [] ) init the class
set ( string $key = null, mixed $value = null ) set item to registry

메소드 상세

get() 공개 메소드

get item from registry
부터: 3.0.0
public get ( string $key = null ) : mixed
$key string key of the item
리턴 mixed

init() 공개 메소드

init the class
부터: 2.1.0
public init ( array $registryArray = [] )
$registryArray array array of the registry

set() 공개 메소드

set item to registry
부터: 2.1.0
public set ( string $key = null, mixed $value = null )
$key string key of the item
$value mixed value of the item

프로퍼티 상세

$_registryArray 보호되어 있는 정적으로 프로퍼티

array of the registry
protected static array $_registryArray
리턴 array