public function __construct(UserAgentParserInterface $uaParser = null) { $this->uaParser = $uaParser; }