protected sanitizeTag ( string $tag ) : string | ||
$tag | string | A tag which possibly contains non-allowed characters, for example "NodeType_Neos.NodeTypes:Page" |
return | string | A cleaned up tag, for example "NodeType_TYPO3_Neos-Page" |
protected function sanitizeTag($tag)
{
return strtr($tag, '.:', '_-');
}