public function __construct(callable $time, DateInterval $maximumInterval) { $this->time = $time; $this->maximumInterval = $maximumInterval; }