<?php
namespace Claromentis\Stat\Telemetry;

$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array("_7aefd482de788" . "5f4293c2926df2" . "8c235" => base64_decode("anNvbl9l" . "bmNvZGU="));
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["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_7aefd48" . "2de7885f" . "4293c292" . "6df28c23" . "5"]($this->GetAsArray());
    }
}