class
League
/
CommonMark
/
Normalizer
/
SlugNormalizer
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
final
SlugNormalizer
Creates URL-friendly strings based on the given string input
Implements
- TextNormalizerInterface
- League\...\ConfigurationAwareInterface
Properties
private
$defaultMaxLength
Default: 255
Methods
public
setConfiguration ( League\...\ConfigurationInterface $configuration ) : void
public
normalize ( string $text , array $context ) : void
{@inheritDoc}