public function __construct($map, $reduce, array $out, array $query, array $options) { $this->map = $map; $this->reduce = $reduce; $this->out = $out; $this->query = $query; $this->options = $options; }