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

isIdGeneratorNone() public method

Checks whether the class uses no id generator.
public isIdGeneratorNone ( ) : boolean
return boolean TRUE if the class does not use any id generator, FALSE otherwise.
    public function isIdGeneratorNone()
    {
        return $this->generatorType == self::GENERATOR_TYPE_NONE;
    }
ClassMetadataInfo