src/Data/DefaultDataProvider.php
public function enableDefaultUuidGenerator()
    {
        if ($this->idGenerator) {
            throw new DcGeneralRuntimeException('Error: already an id generator set on database provider.');
        }

        $this->setIdGenerator(new DatabaseUuidIdGenerator($this->connection));

        return $this;
    }
public function enableDefaultUuidGenerator()
    {
        if ($this->idGenerator) {
            throw new DcGeneralRuntimeException('Error: already an id generator set on database provider.');
        }

        $this->setIdGenerator(new DatabaseUuidIdGenerator($this->connection));

        return $this;
    }
public function enableDefaultUuidGenerator ( ) { if ( $ this -> idGenerator ) { throw new DcGeneralRuntimeException ( 'Error: already an id generator set on database provider.' ) ; } $ this -> setIdGenerator ( new DatabaseUuidIdGenerator ( $ this -> connection ) ) ; return $ this ; }
Create an instance of the default database driven uuid generator.

@return DefaultDataProvider

@throws DcGeneralRuntimeException When already an id generator has been set on the instance.
Create an instance of the default database driven uuid generator .