Method | Description | |
---|---|---|
rebuildCacheRecord ( array $config, |
Rebuilds the cache for the records in question. | |
updateCacheRecord ( array $config, string $operation, integer | float | double $amount, string $foreignKey ) | Updates a table's record based on the query information provided in the $config variable. |
Method | Description | |
---|---|---|
field ( string $model, string $field ) : string | Creates the key based on model properties and rules. | |
getModelTable ( string | |
Returns the table for a given model. Model can be an Eloquent model object, or a full namespaced class string. | |
key ( string $field ) : mixed | Returns the true key for a given field. | |
processConfig ( array $config ) : array | Process configuration parameters to check key names, fix snake casing, etc. |
protected getModelTable ( string | |
||
$model | string | |
|
return | mixed |
protected processConfig ( array $config ) : array | ||
$config | array | |
return | array |