class UsernameSlugDriver implements SlugDriverInterface
Properties
protected UserRepository | $users |
class UsernameSlugDriver implements SlugDriverInterface
protected UserRepository | $users |
__construct(UserRepository $users)
string
toSlug(AbstractModel $instance)
AbstractModel
fromSlug(string $slug, User $actor)