Witam
mam problem w pewnym projekcie przy uruchomieniu : ****php artisan bookingApp:calculateDistanceToOffice ****wywala mi ciagle bład:
Symfony\Component\Debug\Exception\FatalThrowableError : Class 'Proexe\BookingApp\Utilities\DistanceCalculator' not found
at C:\xampp\htdocs\php-master\app\Console\Commands\CalculateDistanceToOffice.php:41
37| *
38| * @return mixed
39| */
40| public function handle() {
> 41| $distanceCalculator = new DistanceCalculator();
42| $offices = OfficeModel::all()->toArray();
43|
44| $lat = $this->ask( 'Enter Lat:', '14.12232322' );
45| $lng = $this->ask( 'Enter Lng:', '8.12232322' );
Exception trace:
1 App\Console\Commands\CalculateDistanceToOffice::handle()
C:\xampp\htdocs\php-master\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:29
2 call_user_func_array([])
C:\xampp\htdocs\php-master\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:29
Please use the argument -v to see more details.
jak mogę to naprawić zeby działało oraz seed bazy php artisan db:seed
composer dump-autoload ani composer update niestety nie naprawiają problemu
czy trzeba pozmieniać jakoś tą klase?