public function get($cacheId)
    {
        $firstLevelResult = $this->getFromFirstLevelCache($cacheId);
        if ($firstLevelResult !== null) {
            return $firstLevelResult;
        }

        return $this->secondLevelCache->get($cacheId);
    }
public function get($cacheId)
    {
        $firstLevelResult = $this->getFromFirstLevelCache($cacheId);
        if ($firstLevelResult !== null) {
            return $firstLevelResult;
        }

        return $this->secondLevelCache->get($cacheId);
    }
public function get ( $ cacheId ) { $ firstLevelResult = $ this -> getFromFirstLevelCache ( $ cacheId ) ; if ( $ firstLevelResult !== null ) { return $ firstLevelResult ; } return $ this -> secondLevelCache -> get ( $ cacheId ) ; }
Retrieves a value from the first level cache if present and
from the second level if not.

@param string $cacheId
@return mixed
Retrieves a value from the first level cache if present and from the second level if not .