<?php

namespace Hura8\Components\Analytics\Model;

class TrackRouteInfo
{
    public  $url;
    public  $module;
    public  $view;
    public  $view_id;
    public  $query;

    public function __construct(
        string $url,
        string $module,
        string $view,
        string $view_id,
        array $query = []
    )
    {
        $this->url      = $url;
        $this->module   = $module;
        $this->view     = $view;
        $this->view_id  = $view_id;
        $this->query    = $query;
    }

}
