File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 }
1616 ],
1717 "require" : {
18- "php" : " ^7.4" ,
18+ "php" : " ^7.4|^8.0 " ,
1919 "guzzlehttp/guzzle" : " ^7.3" ,
2020 "illuminate/contracts" : " ^8.0" ,
2121 "spatie/laravel-package-tools" : " ^1.4.3"
Original file line number Diff line number Diff line change 11<?php
22namespace Apsg \Wordpressor \Commands ;
33
4- use Apsg \Wordpressor \CacheHelper ;
54use Illuminate \Console \Command ;
65use Illuminate \Support \Facades \Cache ;
76
87class ClearCacheCommand extends Command
98{
109 protected $ signature = 'wordpressor:clear ' ;
11- protected $ description = 'Clear Wordpressor \' s cache, i.e. after new post was added ' ;
10+ protected $ description = 'Clear cache, i.e. after new post was added ' ;
1211
1312 public function handle ()
1413 {
15- Cache::tags ([CacheHelper:: PREFIX ])-> clear ();
14+ Cache::flush ();
1615
1716 $ this ->info ('Cleared ' );
1817 }
You can’t perform that action at this time.
0 commit comments