public function redact() : Stage\Redact
    {
        $stage = new Stage\Redact($this);
        $this->addStage($stage);

        return $stage;
    }
public function redact() : Stage\Redact
    {
        $stage = new Stage\Redact($this);
        $this->addStage($stage);

        return $stage;
    }
public function redact ( ) : Stage \ Redact { $ stage = new Stage \ Redact ( $ this ) ; $ this -> addStage ( $ stage ) ; return $ stage ; }
Restricts the contents of the documents based on information stored in
the documents themselves.

@see http://docs.mongodb.org/manual/reference/operator/aggregation/redact/
Restricts the contents of the documents based on information stored in the documents themselves .