src/Security/RateLimiting/RateLimit.php
protected function getLimitFor($actionName, $blockType, $entityId)
    {
        $limit = $this->storage->getLimitFor($actionName, $blockType, $entityId);
        if ($limit === null) {
            $limit = array("ts" => 0, "cnt" => 0);
        }
        return $limit;
    }
protected function getLimitFor($actionName, $blockType, $entityId)
    {
        $limit = $this->storage->getLimitFor($actionName, $blockType, $entityId);
        if ($limit === null) {
            $limit = array("ts" => 0, "cnt" => 0);
        }
        return $limit;
    }
Retrieves a limit array for a given action,type,id

@param string $actionName Action id (e.g. "login")
@param string $blockType Block type (e.g. "ip")
@param string $entityId Entity identifier
@return array Limit data array