redact() public method

Restricts the contents of the documents based on information stored in the documents themselves.
See also: http://docs.mongodb.org/manual/reference/operator/aggregation/redact/
public redact ( ) : Doctrine\MongoDB\Aggregation\Stage\Redact
return Doctrine\MongoDB\Aggregation\Stage\Redact
Example #1
0
 /**
  * Restricts the contents of the documents based on information stored in
  * the documents themselves.
  *
  * @see http://docs.mongodb.org/manual/reference/operator/aggregation/redact/
  *
  * @return Stage\Redact
  */
 public function redact()
 {
     return $this->builder->redact();
 }