public function __construct() { if (isset(self::$current)) { throw new ConstructionException('Cannot construct more than one instance of singleton class Cleaner.'); } self::$current = $this; }