Drupal investigation

SingletonClass.php 333B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. class SingletonClass
  3. {
  4. public static function getInstance()
  5. {
  6. }
  7. public function doSomething()
  8. {
  9. }
  10. protected function __construct()
  11. {
  12. }
  13. final private function __sleep()
  14. {
  15. }
  16. final private function __wakeup()
  17. {
  18. }
  19. final private function __clone()
  20. {
  21. }
  22. }