src/Sulu/Bundle/HttpCacheBundle/EventSubscriber/TagsSubscriber.php
private function getTagsFromStore($alias, ReferenceStoreInterface $referenceStore): array
    {
        $tags = [];
        foreach ($referenceStore->getAll() as $reference) {
            $tag = $reference;
            if (!Uuid::isValid($reference)) {
                $tag = $alias . '-' . $reference;
            }

            $tags[] = $tag;
        }

        return $tags;
    }
private function getTagsFromStore($alias, ReferenceStoreInterface $referenceStore): array
    {
        $tags = [];
        foreach ($referenceStore->getAll() as $reference) {
            $tag = $reference;
            if (!Uuid::isValid($reference)) {
                $tag = $alias . '-' . $reference;
            }

            $tags[] = $tag;
        }

        return $tags;
    }
private function getTagsFromStore ( $ alias , ReferenceStoreInterface $ referenceStore ) : array { $ tags = [ ] ; foreach ( $ referenceStore -> getAll ( ) as $ reference ) { $ tag = $ reference ; if ( ! Uuid :: isValid ( $ reference ) ) { $ tag = $ alias . '-' . $ reference ; } $ tags [ ] = $ tag ; } return $ tags ; }
Returns tags from given store.
Returns tags from given store .