2022-12-02 03:19:02 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
2023-01-28 23:21:40 +01:00
|
|
|
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
|
2022-12-02 03:19:02 +01:00
|
|
|
*
|
|
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\DataMapper\Analytics;
|
|
|
|
|
|
|
|
use Turbo124\Beacon\ExampleMetric\GenericMixedMetric;
|
|
|
|
|
|
|
|
class BankAccountsCreated extends GenericMixedMetric
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The type of Sample.
|
|
|
|
*
|
|
|
|
* Monotonically incrementing counter
|
|
|
|
*
|
|
|
|
* - counter
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
public $type = 'mixed_metric';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The name of the counter.
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
public $name = 'bank_accounts.created';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The datetime of the counter measurement.
|
|
|
|
*
|
|
|
|
* date("Y-m-d H:i:s")
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public $datetime;
|
|
|
|
|
|
|
|
public $int_metric1 = 0;
|
|
|
|
|
|
|
|
public function __construct($int_metric1)
|
|
|
|
{
|
|
|
|
$this->int_metric1 = $int_metric1;
|
|
|
|
}
|
|
|
|
}
|