src/Sulu/Bundle/SnippetBundle/Snippet/SnippetRepository.php
public function copyLocale($uuid, $userId, $srcLocale, $destLocales)
    {
        return $this->contentMapper->copyLanguage(
            $uuid,
            $userId,
            null,
            $srcLocale,
            $destLocales,
            Structure::TYPE_SNIPPET
        );
    }
public function copyLocale($uuid, $userId, $srcLocale, $destLocales)
    {
        return $this->contentMapper->copyLanguage(
            $uuid,
            $userId,
            null,
            $srcLocale,
            $destLocales,
            Structure::TYPE_SNIPPET
        );
    }
public function copyLocale ( $ uuid , $ userId , $ srcLocale , $ destLocales ) { return $ this -> contentMapper -> copyLanguage ( $ uuid , $ userId , null , $ srcLocale , $ destLocales , Structure :: TYPE_SNIPPET ) ; }
Copy snippet from src-locale to dest-locale.

TODO: We currently need the content mapper to copy the locale, it should be
removed, see https://github.com/sulu-io/sulu/issues/1998

@param string $uuid
@param int $userId
@param string $srcLocale
@param array $destLocales

@return SnippetBridge
Copy snippet from src - locale to dest - locale .