This method also prepares a cleaned up output which can be retrieved later. See getOutput() for more information.
public extractRenderedSegments ( string $content, string $randomCacheMarker = '' ) : string | ||
$content | string | The content to process, ie. the rendered content with some segment markers already in place |
$randomCacheMarker | string | A random cache marker that should be used to "protect" against content containing special characters used to mark cache segments |
Résultat | string | The outer content with placeholders instead of the actual content segments |