1 <?php declare(strict_types=1);
68 return new SplitString($delimiter, $this->dataFactory);
92 return new CaseOfLabel($language_key, $this->dataFactory);
splitString(string $delimiter)
Creates a transformation that can be used to split a given string by given delimiter.
Split a string by delimiter into array.
hasMaxLength(int $maximum)
Creates a constraint that can be used to check if a string has exceeded a maximum length...
caseOfLabel(string $language_key)
Creates a transformation that can be used to format a text for the title capitalization presentation ...
estimatedReadingTime($withImages=false)
Creates a transformation to determine the estimated reading time of an human adult (roughly 275 WPM) ...
hasMinLength(int $minimum)
Creates a constraint that can be used to check if a string has reached a minimum length.
stripTags()
Creates a transformation that strips tags from a string.
__construct(Factory $dataFactory, \ilLanguage $language)