mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-03 14:52:13 +02:00
Some highlights: fix class/interface syntax; additional class/method docs; Manager convenience methods; more value objects.
20 lines
302 B
PHP
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;
|
|
}
|
|
}
|