src/Sulu/Component/Media/SystemCollections/SystemCollectionManager.php
private function getSystemCollections()
    {
        if (!$this->systemCollections) {
            if (!$this->cache->isFresh()) {
                $systemCollections = $this->buildSystemCollections(
                    $this->locale,
                    $this->getUserId()
                );

                $this->cache->write($systemCollections);
            }

            $this->systemCollections = $this->cache->read();
        }

        return $this->systemCollections;
    }
private function getSystemCollections()
    {
        if (!$this->systemCollections) {
            if (!$this->cache->isFresh()) {
                $systemCollections = $this->buildSystemCollections(
                    $this->locale,
                    $this->getUserId()
                );

                $this->cache->write($systemCollections);
            }

            $this->systemCollections = $this->cache->read();
        }

        return $this->systemCollections;
    }
private function getSystemCollections ( ) { if ( ! $ this -> systemCollections ) { if ( ! $ this -> cache -> isFresh ( ) ) { $ systemCollections = $ this -> buildSystemCollections ( $ this -> locale , $ this -> getUserId ( ) ) ; $ this -> cache -> write ( $ systemCollections ) ; } $ this -> systemCollections = $ this -> cache -> read ( ) ; } return $ this -> systemCollections ; }
Returns system collections.

@return array
Returns system collections .