src/League/Monga/Query/Find.php
public function select($field)
    {
        $fields = (is_array($field) ? $field : func_get_args());

        foreach ((array) $fields as $field) {
            $this->fields[$field] = 1;
        }
    }
public function select($field)
    {
        $fields = (is_array($field) ? $field : func_get_args());

        foreach ((array) $fields as $field) {
            $this->fields[$field] = 1;
        }
    }
public function select ( $ field ) { $ fields = ( is_array ( $ field ) ? $ field : func_get_args ( ) ) ; foreach ( ( array ) $ fields as $ field ) { $ this -> fields [ $ field ] = 1 ; } }
Specifies fields to select

@param  mixed $field field(s) to select

@return object        current instance
Specifies fields to select