Copied!
AbstractInterface
Constants
public League\CommonMark\Normalizer\UniqueSlugNormalizerInterface::DISABLED = false
public League\CommonMark\Normalizer\UniqueSlugNormalizerInterface::PER_DOCUMENT = 'document'
public League\CommonMark\Normalizer\UniqueSlugNormalizerInterface::PER_ENVIRONMENT = 'environment'
Methods
public abstract clearHistory() : void
 

Called by the Environment whenever the configured scope changes

Currently, this will only be called PER_DOCUMENT.

public abstract League\CommonMark\Normalizer\TextNormalizerInterface::normalize(string $text, array $context = []) : string
 
  • param string $text The text to normalize
  • param array<string,mixed> $context Additional context about the text being normalized (optional) $context may include (but is not required to include) the following:
    • prefix - A string prefix to prepend to each normalized result
    • length - The requested maximum length
    • node - The node we're normalizing text for
    Implementations do not have to use or respect any information within that $context
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration