added __toString() to MongoCommand - need to implement in subclasses
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user