public function select($fields = []) { $fields = is_array($fields) ? $fields : func_get_args(); foreach ($fields as $field) { $this->addBinding(new Select($field), 'select'); } return $this; }
/** * Adds the inserted fields to query on the current LDAP connection. * * @param array $fields * * @return $this */ public function select($fields = []) { $this->query->select($fields); return $this; }