php artisan route:list ! ReflectionException : Class does not exist !
php artisan route:list
ReflectionException : Class does not exist
at C:\Users\wanyangyue\Desktop\git\farm\farmCms\vendor\laravel\framework\src\Illuminate\Container\Container.php: 767 763: if ($concrete instanceof Closure) { 764: return $concrete($this, $this->getLastParameterOverride()); 765: } 766: 767: $reflector = new ReflectionClass($concrete); 768: 769: // If the type is not instantiable, the developer is attempting to resolve 770: // an abstract type such as an Interface of Abstract Class and there is 771: // no binding registered for the abstractions so we need to bail out. 772: if (! $reflector->isInstantiable()) {
Exception trace:
1 ReflectionClass::__construct("") C:\Users\wanyangyue\Desktop\git\farm\farmCms\vendor\laravel\framework\src\Illuminate\Container\Container.php : 767
2 Illuminate\Container\Container::build() C:\Users\wanyangyue\Desktop\git\farm\farmCms\vendor\laravel\framework\src\Illuminate\Container\Container.php : 646
same
PR with a fix for that pushed on LavaLite/framework. In ClientRepository and ClientResourceController, variable 'type' doesn't have any value, what causes Exception, cause Repository cannot load model for non-existing user type.
@gachowy Thank you !