mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-02 14:22:19 +02:00
22 lines
333 B
PHP
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;
|
|
}
|
|
}
|