@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Contracts\View\Factory; |
6 | 6 | use Illuminate\Routing\Controller; |
7 | +use Illuminate\Support\Facades\Cache; |
|
7 | 8 | use Illuminate\View\View; |
8 | 9 | use Mtolhuys\LaravelSchematics\Services\ModelMapper; |
9 | 10 | use Mtolhuys\LaravelSchematics\Services\RelationMapper; |
10 | 11 | use ReflectionException; |
11 | -use Illuminate\Support\Facades\Cache; |
|
12 | 12 | |
13 | 13 | class SchematicsController extends Controller |
14 | 14 | { |
@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace Mtolhuys\LaravelSchematics\Services; |
4 | 4 | |
5 | -use RecursiveDirectoryIterator; |
|
6 | -use RecursiveIteratorIterator; |
|
7 | -use PhpParser\Node\Stmt\Class_; |
|
8 | -use PhpParser\Node\Stmt\Namespace_; |
|
9 | 5 | use PhpParser\NodeTraverser; |
10 | 6 | use PhpParser\NodeVisitor\NameResolver; |
7 | +use PhpParser\Node\Stmt\Class_; |
|
8 | +use PhpParser\Node\Stmt\Namespace_; |
|
11 | 9 | use PhpParser\ParserFactory; |
10 | +use RecursiveDirectoryIterator; |
|
11 | +use RecursiveIteratorIterator; |
|
12 | 12 | |
13 | 13 | class ModelMapper |
14 | 14 | { |
@@ -4,9 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Database\Eloquent\Relations\Relation; |
6 | 6 | |
7 | -use ReflectionException; |
|
8 | 7 | use Illuminate\Support\Collection; |
9 | 8 | use ReflectionClass; |
9 | +use ReflectionException; |
|
10 | 10 | use ReflectionMethod; |
11 | 11 | |
12 | 12 | class RelationMapper |