public function __construct(EventDispatcher $eventDispatcher, VisitorRecognizer $visitorRecognizer, Settings $userSettings, $visitStandardLength) { $this->eventDispatcher = $eventDispatcher; $this->visitorRecognizer = $visitorRecognizer; $this->userSettings = $userSettings; $this->visitStandardLength = $visitStandardLength; }