Files
mongo-php-driver/docs/api/MongoDB/Command/Command.php
Jeremy Mikola 749b2d391a Implement review feedback
Some highlights: fix class/interface syntax; additional class/method docs; Manager convenience methods; more value objects.
2014-06-13 03:52:26 -04:00

20 lines
302 B
PHP

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