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
-
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