mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-03 06:42:23 +02:00
22 lines
349 B
PHP
22 lines
349 B
PHP
<?php
|
|
|
|
namespace MongoDB\Command;
|
|
|
|
/**
|
|
* Value object for a database command document.
|
|
*/
|
|
final class Command
|
|
{
|
|
private $document;
|
|
|
|
/**
|
|
* Constructs a new MongoDB Command
|
|
*
|
|
* @param array|object $document Command document
|
|
*/
|
|
public function __construct($document)
|
|
{
|
|
$this->document = $document;
|
|
}
|
|
}
|