diff --git a/model/MongoDbCommand.php b/model/MongoDbCommand.php index 7c9328d..d348d4c 100644 --- a/model/MongoDbCommand.php +++ b/model/MongoDbCommand.php @@ -59,6 +59,14 @@ abstract class MongoDbCommand abstract protected function concreteExecute(); abstract protected function checkParams(); + + /** + * @TODO: implement method in subclasses for Profiler + */ + public function __toString() + { + return get_called_class(); + } } class FindMongoCommand extends MongoDbCommand