keyPrefix() public static method
Declares prefix of the key that represents the keys that store this records in redis.
By default this method returns the class name as the table name by calling yii\helpers\Inflector::camel2id(). For example, 'Customer' becomes 'customer', and 'OrderItem' becomes 'order_item'. You may override this method if you want different key naming.
public static string keyPrefix ( ) | ||
---|---|---|
return | string |
The prefix to apply to all AR keys |
Please login to continue.