<?php
namespace Claromentis\Stat\Telemetry;

$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"] ?: array()) + array("_7aefd482de7885f4293c29" . "26df28c235" => base64_decode("anNvbl9" . "lbmNvZG" . "U="));
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["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_7aefd482de7885f4293c2926d" . "f28c235"]($this->GetAsArray());
    }
}