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

isIdGeneratorIncrement() public method

Checks whether the class will use a collection to generate incremented identifiers.
public isIdGeneratorIncrement ( ) : boolean
return boolean TRUE if the class uses the INCREMENT generator, FALSE otherwise.
    public function isIdGeneratorIncrement()
    {
        return $this->generatorType == self::GENERATOR_TYPE_INCREMENT;
    }
ClassMetadataInfo