slug() slug(string $text) : string Create slug for post in example Parameters string $text Text to transform into slug Returns string