src/FeatureSet.php
protected function buildTimeGenerator(TimeProviderInterface $timeProvider)
    {
        if ($this->enablePecl) {
            return new PeclUuidTimeGenerator();
        }

        return (new TimeGeneratorFactory(
            $this->nodeProvider,
            $this->timeConverter,
            $timeProvider
        ))->getGenerator();
    }
protected function buildTimeGenerator(TimeProviderInterface $timeProvider)
    {
        if ($this->enablePecl) {
            return new PeclUuidTimeGenerator();
        }

        return (new TimeGeneratorFactory(
            $this->nodeProvider,
            $this->timeConverter,
            $timeProvider
        ))->getGenerator();
    }
protected function buildTimeGenerator ( TimeProviderInterface $ timeProvider ) { if ( $ this -> enablePecl ) { return new PeclUuidTimeGenerator ( ) ; } return ( new TimeGeneratorFactory ( $ this -> nodeProvider , $ this -> timeConverter , $ timeProvider ) ) -> getGenerator ( ) ; }
Determines which time-based UUID generator to use and returns the configured
time-based UUID generator for this environment

@param TimeProviderInterface $timeProvider
@return TimeGeneratorInterface
Determines which time - based UUID generator to use and returns the configured time - based UUID generator for this environment