Skip to content

Kirby 5.0.4

$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