public function languages($ids)
    {
        if ($this->allCleared === true || $this->isSwitchedOff()) {
            return;
        }

        $ids = (array)$ids;
        $tags = [];
        foreach ($ids as $id) {
            $tags[] = 'language-' . $id;
        }

        $this->cache->invalidateTags($tags);
    }
public function languages($ids)
    {
        if ($this->allCleared === true || $this->isSwitchedOff()) {
            return;
        }

        $ids = (array)$ids;
        $tags = [];
        foreach ($ids as $id) {
            $tags[] = 'language-' . $id;
        }

        $this->cache->invalidateTags($tags);
    }
public function languages ( $ ids ) { if ( $ this -> allCleared === true || $ this -> isSwitchedOff ( ) ) { return ; } $ ids = ( array ) $ ids ; $ tags = [ ] ; foreach ( $ ids as $ id ) { $ tags [ ] = 'language-' . $ id ; } $ this -> cache -> invalidateTags ( $ tags ) ; }
Clear language persistence cache by id.

In legacy kernel used when editing language, so there is always an id.

@param array|int $ids
Clear language persistence cache by id .