PHP 클래스 Redaxscript\Singleton

부터: 2.2.0
저자: Henry Ruhs
파일 보기 프로젝트 열기: redaxmedia/redaxscript

보호된 프로퍼티들

프로퍼티 타입 설명
$_instance array instance of the class

공개 메소드들

메소드 설명
clearInstance ( ) : object clear the instance
getInstance ( ) : object get the instance

비공개 메소드들

메소드 설명
__construct ( ) constructor of the class

메소드 상세

clearInstance() 공개 정적인 메소드

clear the instance
부터: 3.0.0
public static clearInstance ( ) : object
리턴 object

getInstance() 공개 정적인 메소드

get the instance
부터: 2.2.0
public static getInstance ( ) : object
리턴 object

프로퍼티 상세

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

instance of the class
protected static array $_instance
리턴 array