private function normalizeAssetPath($path)
    {
        $pattern = '~@(\w+)~';
        $replacement = sprintf('/%s/$1/%s', ViewManager::TEMPLATE_PARAM_MODULES_DIR, ViewManager::TEMPLATE_PARAM_ASSETS_DIR);

        return preg_replace($pattern, $replacement, $path);
    }
private function normalizeAssetPath($path)
    {
        $pattern = '~@(\w+)~';
        $replacement = sprintf('/%s/$1/%s', ViewManager::TEMPLATE_PARAM_MODULES_DIR, ViewManager::TEMPLATE_PARAM_ASSETS_DIR);

        return preg_replace($pattern, $replacement, $path);
    }
private function normalizeAssetPath ( $ path ) { $ pattern = '~@(\w+)~' ; $ replacement = sprintf ( '/%s/$1/%s' , ViewManager :: TEMPLATE_PARAM_MODULES_DIR , ViewManager :: TEMPLATE_PARAM_ASSETS_DIR ) ; return preg_replace ( $ pattern , $ replacement , $ path ) ; }
Replaces a module path inside provided path

@param string $path Target path
@return string
Replaces a module path inside provided path