class IdWithTransliteratedSlugDriver implements SlugDriverInterface

Properties

protected DiscussionRepository $discussions

Methods

__construct(DiscussionRepository $discussions)

No description

string
toSlug(AbstractModel $instance)

No description

fromSlug(string $slug, User $actor)

No description

Details

__construct(DiscussionRepository $discussions)

Parameters

DiscussionRepository $discussions

string toSlug(AbstractModel $instance)

Parameters

AbstractModel $instance

Return Value

string

AbstractModel fromSlug(string $slug, User $actor)

Parameters

string $slug
User $actor

Return Value

AbstractModel