public function unwind(string $fieldName) : Stage\Unwind
    {
        // Fixme: move field name translation to stage
        $stage = new Stage\Unwind($this, $this->getDocumentPersister()->prepareFieldName($fieldName));
        $this->addStage($stage);

        return $stage;
    }
public function unwind(string $fieldName) : Stage\Unwind
    {
        // Fixme: move field name translation to stage
        $stage = new Stage\Unwind($this, $this->getDocumentPersister()->prepareFieldName($fieldName));
        $this->addStage($stage);

        return $stage;
    }
public function unwind ( string $ fieldName ) : Stage \ Unwind { // Fixme: move field name translation to stage $ stage = new Stage \ Unwind ( $ this , $ this -> getDocumentPersister ( ) -> prepareFieldName ( $ fieldName ) ) ; $ this -> addStage ( $ stage ) ; return $ stage ; }
Deconstructs an array field from the input documents to output a document
for each element. Each output document is the input document with the
value of the array field replaced by the element.

@see http://docs.mongodb.org/manual/reference/operator/aggregation/unwind/
Deconstructs an array field from the input documents to output a document for each element . Each output document is the input document with the value of the array field replaced by the element .