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

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

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

@param ClassMetadata $class
@param string        $type

@return void
Map this property as a collection of document references .