protected function values()
    {
        try {
            return [
                'type_id'     => $this->resolveTypeIdByOwner(),
                'priority_id' => $this->getPriorityId(),
                'brand_id'    => brand_id(),
                'owner_type'  => get_class($this),
                'owner_id'    => $this->getKey(),
                'user_id'     => $this->getUserId(),
                'route'       => str_replace(app('url')->to('/'), '', Request::url()),
                'ip_address'  => Request::getClientIp(),
                'user_agent'  => isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'No UserAgent',
                'created_at'  => new DateTime(),
                'updated_at'  => new DateTime(),
            ];
        } catch (Exception $ex) {
            return [];
        }
    }
protected function values()
    {
        try {
            return [
                'type_id'     => $this->resolveTypeIdByOwner(),
                'priority_id' => $this->getPriorityId(),
                'brand_id'    => brand_id(),
                'owner_type'  => get_class($this),
                'owner_id'    => $this->getKey(),
                'user_id'     => $this->getUserId(),
                'route'       => str_replace(app('url')->to('/'), '', Request::url()),
                'ip_address'  => Request::getClientIp(),
                'user_agent'  => isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'No UserAgent',
                'created_at'  => new DateTime(),
                'updated_at'  => new DateTime(),
            ];
        } catch (Exception $ex) {
            return [];
        }
    }
protected function values ( ) { try { return [ 'type_id' => $ this -> resolveTypeIdByOwner ( ) , 'priority_id' => $ this -> getPriorityId ( ) , 'brand_id' => brand_id ( ) , 'owner_type' => get_class ( $ this ) , 'owner_id' => $ this -> getKey ( ) , 'user_id' => $ this -> getUserId ( ) , 'route' => str_replace ( app ( 'url' ) -> to ( '/' ) , '' , Request :: url ( ) ) , 'ip_address' => Request :: getClientIp ( ) , 'user_agent' => isset ( $ _SERVER [ 'HTTP_USER_AGENT' ] ) ? $ _SERVER [ 'HTTP_USER_AGENT' ] : 'No UserAgent' , 'created_at' => new DateTime ( ) , 'updated_at' => new DateTime ( ) , ] ; } catch ( Exception $ ex ) { return [ ] ; } }
get constantiable values

@return array
get constantiable values