<?php
namespace Claromentis\Stat\Telemetry;

$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] ?: array()) + array("_7aefd482de7885f4293c292" . "6df28c235" => base64_decode("anNvbl9lbm" . "NvZGU="));
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["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_7aefd482de7885f4293" . "c2926df28c235"]($this->GetAsArray());
    }
}