Query.php
public function source($source)
    {
        if (is_array($source) || $source === null) {
            $this->source = $source;
        } else {
            $this->source = func_get_args();
        }
        return $this;
    }
public function source($source)
    {
        if (is_array($source) || $source === null) {
            $this->source = $source;
        } else {
            $this->source = func_get_args();
        }
        return $this;
    }
public function source ( $ source ) { if ( is_array ( $ source ) || $ source === null ) { $ this -> source = $ source ; } else { $ this -> source = func_get_args ( ) ; } return $ this ; }
Sets the source filtering, specifying how the `_source` field of the document should be returned.
@param array $source the source patterns to be selected.
@return $this the query object itself
@see http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-source-filtering.html
Sets the source filtering specifying how the _source field of the document should be returned .