Open GCarneiroA opened 5 years ago
Some function remove and change to Str::.. I think need a version to update all function change for Lar 6.0
I got the same issue. For a temporary solution just modified file:
Prettus\Repository\Generators\Commands
And then change function
snake_case()
to Str::snake()
,
str_plural()
to Str::plural()
by use use Illuminate\Support\Str
Reference https://laravel.com/api/6.x/Illuminate/Support/Str.html
Thanks.
Error on line: 69 in file RepositoryCommand.php on run command "php artisan make:entity my_entity"
A simple solution to the problem is to change the function call from line 69. I will be sending the corresponding PR to the question.