Doctrine\ODM\MongoDB\Aggregation\Stage\Out::out PHP Method

out() public method

public out ( $collection )
    public function out($collection)
    {
        try {
            $class = $this->dm->getClassMetadata($collection);
        } catch (BaseMappingException $e) {
            return parent::out($collection);
        }
        return $this->fromDocument($class);
    }