Singleton

  • Namespace: Redaxscript
  • Description: abstract class to create a singleton class
  • Package: Redaxscript
  • Category: Singleton
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_instance\Redaxscript\Singletonprotectedinstance of the class
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
__constructprivateconstructor of the class
getInstancepublicget the instance
clearInstancepublicclear the instance
MethodVisibilityDescription