<?php
namespace Claromentis\Stat\Telemetry;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] ?: array()) + array("_7aefd482de7" . "885f4293c292" . "6df28c235" => base64_decode("anNvbl9lbmNvZGU" . "="));
use Claromentis\Core\DAL\Db;
abstract class DataCollectorBase implements DataCollectorInterface
{
    protected $data;
    
    
    protected $start;
    protected $end;
    public function __construct($_ccd9e402149a4aff4a20de187781aa41, $_ef3a72fcbe857b2afe45cb9d8cafb253)
    {
        $this->start = $_ccd9e402149a4aff4a20de187781aa41;
        $this->end = $_ef3a72fcbe857b2afe45cb9d8cafb253;
        $this->data = [];
    }
    public abstract function Generate(Db $db);
    public function GetAsArray()
    {
        return $this->data;
    }
    public function GetAsJSON()
    {
        return $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_7aefd482de788" . "5f4293c2926df2" . "8c235"]($this->GetAsArray());
    }
}