Symfony integration for Kdyby/DateTimeProvider
Pre-release
Pre-release
First pre-release of Kdyby/DateTimeProviderBundle.
Integration is done by configuring the type
parameter:
current_time
:- will register CurrentProvider and provide a current time at call-time
- this is the default behavior
request_time
:- will register ConstantProvider and provide a fixed time obtained from the request
mutable_request_time
:- will register MutableProvider and provide a fixed time obtained from the request