Mercurial > hg > isophonics-drupal-site
comparison vendor/phpunit/phpunit-mock-objects/tests/_fixture/SingletonClass.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 class SingletonClass | |
4 { | |
5 public static function getInstance() | |
6 { | |
7 } | |
8 | |
9 public function doSomething() | |
10 { | |
11 } | |
12 | |
13 protected function __construct() | |
14 { | |
15 } | |
16 | |
17 final private function __sleep() | |
18 { | |
19 } | |
20 | |
21 final private function __wakeup() | |
22 { | |
23 } | |
24 | |
25 final private function __clone() | |
26 { | |
27 } | |
28 } |