Doctrine\MongoDB\LoggableDatabase::command PHP Method

command() public method

See also: Database::command()
public command ( array $data, array $options = [], &$hash = null )
$data array
$options array
    public function command(array $data, array $options = [], &$hash = null)
    {
        $this->log(['command' => true, 'data' => $data, 'options' => $options]);
        if (func_num_args() > 2) {
            return parent::command($data, $options, $hash);
        }
        return parent::command($data, $options);
    }