@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Orkhanahmadov\EloquentRepository\Console; |
| 4 | 4 | |
| 5 | +use Illuminate\Console\GeneratorCommand; |
|
| 6 | +use Illuminate\Contracts\Filesystem\FileNotFoundException; |
|
| 5 | 7 | use Illuminate\Support\Str; |
| 6 | 8 | use InvalidArgumentException; |
| 7 | -use Illuminate\Console\GeneratorCommand; |
|
| 8 | 9 | use Symfony\Component\Console\Input\InputOption; |
| 9 | -use Illuminate\Contracts\Filesystem\FileNotFoundException; |
|
| 10 | 10 | |
| 11 | 11 | class RepositoryMakeCommand extends GeneratorCommand |
| 12 | 12 | { |
@@ -2,18 +2,18 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Orkhanahmadov\EloquentRepository; |
| 4 | 4 | |
| 5 | -use Exception; |
|
| 6 | 5 | use BadMethodCallException; |
| 7 | -use Illuminate\Support\Arr; |
|
| 8 | -use Illuminate\Database\Eloquent\Model; |
|
| 6 | +use Exception; |
|
| 7 | +use Illuminate\Contracts\Cache\Factory as Cache; |
|
| 8 | +use Illuminate\Contracts\Container\BindingResolutionException; |
|
| 9 | 9 | use Illuminate\Database\Eloquent\Builder; |
| 10 | 10 | use Illuminate\Database\Eloquent\Collection; |
| 11 | -use Illuminate\Contracts\Cache\Factory as Cache; |
|
| 11 | +use Illuminate\Database\Eloquent\Model; |
|
| 12 | 12 | use Illuminate\Database\Eloquent\ModelNotFoundException; |
| 13 | -use Orkhanahmadov\EloquentRepository\Repository\Criteria; |
|
| 14 | -use Illuminate\Contracts\Container\BindingResolutionException; |
|
| 13 | +use Illuminate\Support\Arr; |
|
| 15 | 14 | use Orkhanahmadov\EloquentRepository\Repository\Contracts\Cachable; |
| 16 | 15 | use Orkhanahmadov\EloquentRepository\Repository\Contracts\Repository; |
| 16 | +use Orkhanahmadov\EloquentRepository\Repository\Criteria; |
|
| 17 | 17 | |
| 18 | 18 | abstract class EloquentRepository implements Repository |
| 19 | 19 | { |