public createCommand ( array $document = [] ) : |
||
$document | array | command document contents. |
return | command instance. |
public function createCommand($document = [])
{
return $this->connection->createCommand($document, $this->name);
}