TimeGeneratorFactory
class TimeGeneratorFactory (View source)
A factory for retrieving a time generator, based on the environment
Methods
__construct(NodeProviderInterface $nodeProvider, TimeConverterInterface $timeConverter, TimeProviderInterface $timeProvider)
Constructs a TimeGeneratorFactory
using a node provider, time converter,
and time provider
getGenerator()
Returns a default time generator, based on the current environment
Details
at line 49
__construct(NodeProviderInterface $nodeProvider, TimeConverterInterface $timeConverter, TimeProviderInterface $timeProvider)
Constructs a TimeGeneratorFactory
using a node provider, time converter,
and time provider
at line 64
TimeGeneratorInterface
getGenerator()
Returns a default time generator, based on the current environment