public function mapManyEmbedded(ClassMetadata $class, $type = Type::LIST_)
    {
        $this->embedded = true;
        $this->type     = $type;

        $this->mapAttribute($class);
    }
public function mapManyEmbedded(ClassMetadata $class, $type = Type::LIST_)
    {
        $this->embedded = true;
        $this->type     = $type;

        $this->mapAttribute($class);
    }
public function mapManyEmbedded ( ClassMetadata $ class , $ type = Type :: LIST_ ) { $ this -> embedded = true ; $ this -> type = $ type ; $ this -> mapAttribute ( $ class ) ; }
Map this property as a collection of embedded documents.

@param ClassMetadata $class
@param string        $type

@return void
Map this property as a collection of embedded documents .