src/Helper/ViewCombinations.php
protected function loadFromCache()
    {
        $key = $this->calculateCacheKey();
        if (!$this->container->getCache()->contains($key)) {
            return false;
        }

        // Perform loading now.
        $data = json_decode($this->container->getCache()->fetch($key), true);

        if (empty($data)) {
            return false;
        }

        $this->information = $data['information'];
        $this->tableMap    = $data['tableMap'];
        $this->parentMap   = $data['parentMap'];
        $this->childMap    = $data['childMap'];

        return true;
    }
protected function loadFromCache()
    {
        $key = $this->calculateCacheKey();
        if (!$this->container->getCache()->contains($key)) {
            return false;
        }

        // Perform loading now.
        $data = json_decode($this->container->getCache()->fetch($key), true);

        if (empty($data)) {
            return false;
        }

        $this->information = $data['information'];
        $this->tableMap    = $data['tableMap'];
        $this->parentMap   = $data['parentMap'];
        $this->childMap    = $data['childMap'];

        return true;
    }
protected function loadFromCache ( ) { $ key = $ this -> calculateCacheKey ( ) ; if ( ! $ this -> container -> getCache ( ) -> contains ( $ key ) ) { return false ; } // Perform loading now. $ data = json_decode ( $ this -> container -> getCache ( ) -> fetch ( $ key ) , true ) ; if ( empty ( $ data ) ) { return false ; } $ this -> information = $ data [ 'information' ] ; $ this -> tableMap = $ data [ 'tableMap' ] ; $ this -> parentMap = $ data [ 'parentMap' ] ; $ this -> childMap = $ data [ 'childMap' ] ; return true ; }
Try to load the combinations from cache.

@return bool
Try to load the combinations from cache .