Skip to content

Kirby 5.1.3

$redisCache->databaseNum()

Returns the database number

$redisCache->databaseNum(): int

Return type

int

This method modifies the existing $rediscache object it is applied to and returns it again.

Parent class

Kirby\Cache\RedisCache