public preProcessSource ( string $templateSource ) : string | ||
$templateSource | string | |
return | string |
public function preProcessSource($templateSource)
{
$templateSource = $this->protectCDataSectionsFromParser($templateSource);
$templateSource = $this->registerNamespacesFromTemplateSource($templateSource);
$this->throwExceptionsForUnhandledNamespaces($templateSource);
return $templateSource;
}