PHP Class Xpressengine\Support\Singleton

Author: XE Developers ([email protected])
Show file Open project: xpressengine/xpressengine

Public Methods

Method Description
instance ( ) : static create instance if not exists

Private Methods

Method Description
__clone ( ) : void not able clone
__construct ( ) do not use constructor

Method Details

instance() public static method

create instance if not exists
public static instance ( ) : static
return static