PHP Class ManaPHP\Security\RateLimiter\Adapter\Db

Inheritance: extends ManaPHP\Security\RateLimiter
Datei anzeigen Open project: manaphp/manaphp

Protected Properties

Property Type Description
$_model string

Public Methods

Method Description
__construct ( string | array $options = [] ) Db constructor.

Protected Methods

Method Description
_limit ( string $id, string $resource, integer $duration, integer $times ) : boolean

Method Details

__construct() public method

Db constructor.
public __construct ( string | array $options = [] )
$options string | array

_limit() protected method

protected _limit ( string $id, string $resource, integer $duration, integer $times ) : boolean
$id string
$resource string
$duration integer
$times integer
return boolean

Property Details

$_model protected_oe property

protected string $_model
return string