class Sluggable extends Behavior implements BehaviorInterface

Sluggable behavior ensures the slug property is always a slug

Methods

__construct($delim = '-', $field = false)

No description

notify(object $eventType, ModelInterface $model)

Fix slugs if not set

Details

at line line 17
__construct($delim = '-', $field = false)

Parameters

$delim
$field

at line line 28
notify(object $eventType, ModelInterface $model)

Fix slugs if not set

Parameters

object $eventType
ModelInterface $model