41 lines
622 B
PHP
41 lines
622 B
PHP
<?php
|
|
|
|
namespace App\DataMapper\Analytics;
|
|
|
|
class LoginFailure
|
|
{
|
|
/**
|
|
* The type of Sample.
|
|
*
|
|
* Monotonically incrementing counter
|
|
*
|
|
* - counter
|
|
*
|
|
* @var string
|
|
*/
|
|
public $type = 'counter';
|
|
|
|
/**
|
|
* The name of the counter.
|
|
* @var string
|
|
*/
|
|
public $name = 'login.failure';
|
|
|
|
/**
|
|
* The datetime of the counter measurement.
|
|
*
|
|
* date("Y-m-d H:i:s")
|
|
*
|
|
* @var DateTime
|
|
*/
|
|
public $datetime;
|
|
|
|
/**
|
|
* The increment amount... should always be
|
|
* set to 0.
|
|
*
|
|
* @var int
|
|
*/
|
|
public $metric = 0;
|
|
}
|