private function setAssets (array $newAssets) : void
    {
        $this->assets = $newAssets;
        $this->cacheItem->set($this->assets);
        $this->cachePool->save($this->cacheItem);
    }
private function setAssets (array $newAssets) : void
    {
        $this->assets = $newAssets;
        $this->cacheItem->set($this->assets);
        $this->cachePool->save($this->cacheItem);
    }
private function setAssets ( array $ newAssets ) : void { $ this -> assets = $ newAssets ; $ this -> cacheItem -> set ( $ this -> assets ) ; $ this -> cachePool -> save ( $ this -> cacheItem ) ; }
Sets and stores the new assets array

@param array $newAssets
Sets and stores the new assets array