You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This package adds caching support for **all** query methods.
11
11
$ composer require miradnan/laravel-model-caching
12
12
```
13
13
14
-
Each model that will accept query-by-query caching will have to use the `Rennokki\QueryCache\Traits\QueryCacheable` trait.
14
+
Each model that will accept query-by-query caching will have to use the `miradnan\QueryCache\Traits\QueryCacheable` trait.
15
15
16
16
```php
17
17
use miradnan\QueryCache\Traits\QueryCacheable;
@@ -147,12 +147,12 @@ modify this function will lead to an overlap.
147
147
148
148
This can happen in case you are creating your own Builder class for another database drivers or simply to ease out your app query builder for more flexibility.
149
149
150
-
To solve this, all you have to do is to add the `\Rennokki\QueryCache\Traits\QueryCacheModule` trait and the `\Rennokki\QueryCache\Contracts\QueryCacheModuleInterface` interface to your `Builder` class. Make sure that the model will no longer use the original `QueryCacheable` trait.
150
+
To solve this, all you have to do is to add the `\miradnan\QueryCache\Traits\QueryCacheModule` trait and the `\miradnan\QueryCache\Contracts\QueryCacheModuleInterface` interface to your `Builder` class. Make sure that the model will no longer use the original `QueryCacheable` trait.
151
151
152
152
```php
153
-
use Rennokki\QueryCache\Traits\QueryCacheModule;
153
+
use miradnan\QueryCache\Traits\QueryCacheModule;
154
154
use Illuminate\Database\Query\Builder as BaseBuilder; // the base laravel builder
155
-
use Rennokki\QueryCache\Contracts\QueryCacheModuleInterface;
155
+
use miradnan\QueryCache\Contracts\QueryCacheModuleInterface;
156
156
157
157
// MyCustomBuilder.php
158
158
class MyCustomBuilder implements QueryCacheModuleInterface
0 commit comments