public function cache()
    {
        Artisan::call('cache:clear');
        $this->log->info(trans('cms::utilities.cache.success') . trans('cms::utilities.field.executed_by',
                ['name' => $this->getCurrentUserName()]));

        return $this->notifySuccess(trans('cms::utilities.cache.success'));
    }
public function cache()
    {
        Artisan::call('cache:clear');
        $this->log->info(trans('cms::utilities.cache.success') . trans('cms::utilities.field.executed_by',
                ['name' => $this->getCurrentUserName()]));

        return $this->notifySuccess(trans('cms::utilities.cache.success'));
    }
public function cache ( ) { Artisan :: call ( 'cache:clear' ) ; $ this -> log -> info ( trans ( 'cms::utilities.cache.success' ) . trans ( 'cms::utilities.field.executed_by' , [ 'name' => $ this -> getCurrentUserName ( ) ] ) ) ; return $ this -> notifySuccess ( trans ( 'cms::utilities.cache.success' ) ) ; }
Clear cache manually.

@return \Illuminate\Http\JsonResponse
Clear cache manually .