maestriam /
samurai
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Maestriam\Samurai\Foundation; |
||
| 4 | |||
| 5 | use Illuminate\Support\Facades\Artisan; |
||
| 6 | |||
| 7 | class FileSystem |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Limpa o cache do projeto |
||
| 11 | * |
||
| 12 | * @return void |
||
| 13 | */ |
||
| 14 | public function clearCache() |
||
| 15 | { |
||
| 16 | Artisan::call('view:clear'); |
||
| 17 | Artisan::call('cache:clear'); |
||
| 18 | |||
| 19 | return true; |
||
|
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
|
|||
| 20 | } |
||
| 21 | } |
||
| 22 |