src/Sulu/Bundle/HttpCacheBundle/EventSubscriber/InvalidationSubscriber.php
private function invalidateDocumentUrls($document, $locale)
    {
        if (!$this->cacheManager) {
            return;
        }

        foreach ($this->getLocaleUrls($document, $locale) as $url) {
            $this->cacheManager->invalidatePath($url);
        }
    }
private function invalidateDocumentUrls($document, $locale)
    {
        if (!$this->cacheManager) {
            return;
        }

        foreach ($this->getLocaleUrls($document, $locale) as $url) {
            $this->cacheManager->invalidatePath($url);
        }
    }
private function invalidateDocumentUrls ( $ document , $ locale ) { if ( ! $ this -> cacheManager ) { return ; } foreach ( $ this -> getLocaleUrls ( $ document , $ locale ) as $ url ) { $ this -> cacheManager -> invalidatePath ( $ url ) ; } }
Invalidates all urls which are assigned to the given document in the given locale.

@param $document
@param $locale
Invalidates all urls which are assigned to the given document in the given locale .