Files
mongo-php-driver/docs/api/MongoDB/Command.php
Jeremy Mikola 226a32985a PHP-1136: Allow custom cursor classes from command/query results
This commit also restructures the namespaces and some write method APIs.
2014-07-11 15:06:00 -04:00

22 lines
333 B
PHP

<?php
namespace MongoDB;
/**
* Value object for a database command document.
*/
final class Command
{
private $document;
/**
* Constructs a new Command
*
* @param array|object $document Command document
*/
public function __construct($document)
{
$this->document = $document;
}
}