@@ -61,6 +61,7 @@ discard block |
||
61 | 61 | |
62 | 62 | /** |
63 | 63 | * Tirardaqui |
64 | + * @param string $folder |
|
64 | 65 | */ |
65 | 66 | public function importFromFolder($folder) |
66 | 67 | { |
@@ -74,6 +75,10 @@ discard block |
||
74 | 75 | // $collections = (new FastExcel) |
75 | 76 | ->import( |
76 | 77 | storage_path('app/'.$file), |
78 | + |
|
79 | + /** |
|
80 | + * @param string $line |
|
81 | + */ |
|
77 | 82 | function ($line) use ($fileName, $assuntosDaPasta) { |
78 | 83 | $modelClass = RespectiveModel::run( |
79 | 84 | $assuntosDaPasta, |
@@ -2,23 +2,15 @@ |
||
2 | 2 | |
3 | 3 | namespace Finder; |
4 | 4 | |
5 | -use App; |
|
6 | 5 | use Config; |
7 | 6 | use Finder\Facades\Finder as FinderFacade; |
8 | 7 | use Finder\Services\FinderService; |
9 | -use Illuminate\Contracts\Events\Dispatcher; |
|
10 | 8 | |
11 | -use Illuminate\Foundation\AliasLoader; |
|
12 | -use Illuminate\Routing\Router; |
|
13 | -use Illuminate\Support\Collection; |
|
14 | 9 | use Illuminate\Support\Facades\View; |
15 | 10 | use Illuminate\Support\ServiceProvider; |
16 | 11 | |
17 | -use JeroenNoten\LaravelAdminLte\Events\BuildingMenu; |
|
18 | - |
|
19 | 12 | use Log; |
20 | 13 | use Muleta\Traits\Providers\ConsoleTools; |
21 | -use Route; |
|
22 | 14 | |
23 | 15 | use Stalker\Services\Midia\FileService; |
24 | 16 |
@@ -10,8 +10,8 @@ |
||
10 | 10 | use Cms; |
11 | 11 | use Config; |
12 | 12 | use CryptoService; |
13 | -use Stalker\Models\Imagen as Image; |
|
14 | 13 | use Informate\Models\Tag; |
14 | +use Stalker\Models\Imagen as Image; |
|
15 | 15 | use Stalker\Services\Midia\FileService; |
16 | 16 | |
17 | 17 |