Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo::isMappedToCollection PHP Method

isMappedToCollection() public method

Returns TRUE if this Document is mapped to a collection FALSE otherwise.
public isMappedToCollection ( ) : boolean
return boolean
    public function isMappedToCollection()
    {
        return $this->collection ? true : false;
    }
ClassMetadataInfo