src/Auditable.php
protected function resolveUserAgent()
    {
        $userAgentResolver = Config::get('audit.resolver.user_agent');

        if (is_subclass_of($userAgentResolver, UserAgentResolver::class)) {
            return call_user_func([$userAgentResolver, 'resolve']);
        }

        throw new AuditingException('Invalid UserAgentResolver implementation');
    }
protected function resolveUserAgent()
    {
        $userAgentResolver = Config::get('audit.resolver.user_agent');

        if (is_subclass_of($userAgentResolver, UserAgentResolver::class)) {
            return call_user_func([$userAgentResolver, 'resolve']);
        }

        throw new AuditingException('Invalid UserAgentResolver implementation');
    }
protected function resolveUserAgent ( ) { $ userAgentResolver = Config :: get ( 'audit.resolver.user_agent' ) ; if ( is_subclass_of ( $ userAgentResolver , UserAgentResolver :: class ) ) { return call_user_func ( [ $ userAgentResolver , 'resolve' ] ) ; } throw new AuditingException ( 'Invalid UserAgentResolver implementation' ) ; }
Resolve the User Agent.

@throws AuditingException

@return string|null
Resolve the User Agent .