Make HasSlug Trait Methods Fluent #210
domthomas-dev
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I think this is a good choice for making the various methods that use
addSlug
fluent.This allows you to do this for example:
$ myModel-> generateSlug () -> save ()
With the arrow function, it is very practical
Beta Was this translation helpful? Give feedback.
All reactions