getNewObj() public method

Return the "new object".
See also: Builder::getNewObj()
public getNewObj ( ) : array
return array
Beispiel #1
0
 /**
  * Create a new Query instance from the Builder state.
  *
  * @param array $options
  * @return Query
  */
 public function getQuery(array $options = array())
 {
     $query = $this->query;
     $query['query'] = $this->expr->getQuery();
     $query['newObj'] = $this->expr->getNewObj();
     return new Query($this->collection, $query, $options);
 }