PHP Class Hookr_Singleton, hookr-plugin

Afficher le fichier Open project: explodybits/hookr-plugin Class Usage Examples

Protected Properties

Свойство Type Description
$_instances

Méthodes protégées

Méthode Description
__clone ( )
__construct ( )
get_instance ( string $class = __CLASS__ ) : string Returns the singleton instance.

Method Details

__clone() protected méthode

protected __clone ( )

__construct() protected méthode

protected __construct ( )

get_instance() protected static méthode

Returns the singleton instance.
protected static get_instance ( string $class = __CLASS__ ) : string
$class string
Résultat string

Property Details

$_instances protected_oe static_oe property

protected static $_instances