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

hasIndexes() public method

Checks whether this document has indexes or not.
public hasIndexes ( ) : boolean
return boolean
    public function hasIndexes()
    {
        return $this->indexes ? true : false;
    }
ClassMetadataInfo