Closed phpcxy closed 6 years ago
Can you explain what this change does, rather than using static::class
?
@cviebrock
https://laravel.com/docs/5.5/eloquent-relationships#polymorphic-relations
If i define the Custom Polymorphic Types
, this function can get the custom name instead of the class name.
Thanks!
Thank you for helping to make this package better!
Please make sure you've read CONTRIBUTING.md before submitting your pull request, and that you have:
README.md
, etc.)Thank you!