The Now class and having it injected in usable form

Continuing the discussion from Package splits from Flow:

I guess the “trick” is simply injecting it non-lazy:

/**
 * @Flow\Inject(lazy=false)
 * @var Now
 */
protected $now;

For the record: I was aware of the option to disable lazyloading. But in case of setting some createdAt-timestamp it would mean that the Now object is created unnecessarily every time except for the very first instantiation of the object.
But you’re right, in this case that’s probably not a problem because it’s not a complex object and most probably instantiated anyways sometimes during the request.