src/Phossa2/Cache/CacheItem.php
protected function getValue()
    {
        // before get
        if (!$this->trigger(CachePool::EVENT_GET_BEFORE)) {
            $this->setHit(false);
            return null;
        }

        // get string value from the pool
        $this->strval = $this->pool->getDriver()->get($this->key);

        // after get
        if (!$this->trigger(CachePool::EVENT_GET_AFTER)) {
            $this->setHit(false);
            $this->set(null);
        }

        return $this->postGetValue();
    }
protected function getValue()
    {
        // before get
        if (!$this->trigger(CachePool::EVENT_GET_BEFORE)) {
            $this->setHit(false);
            return null;
        }

        // get string value from the pool
        $this->strval = $this->pool->getDriver()->get($this->key);

        // after get
        if (!$this->trigger(CachePool::EVENT_GET_AFTER)) {
            $this->setHit(false);
            $this->set(null);
        }

        return $this->postGetValue();
    }
protected function getValue ( ) { // before get if ( ! $ this -> trigger ( CachePool :: EVENT_GET_BEFORE ) ) { $ this -> setHit ( false ) ; return null ; } // get string value from the pool $ this -> strval = $ this -> pool -> getDriver ( ) -> get ( $ this -> key ) ; // after get if ( ! $ this -> trigger ( CachePool :: EVENT_GET_AFTER ) ) { $ this -> setHit ( false ) ; $ this -> set ( null ) ; } return $ this -> postGetValue ( ) ; }
Get value from the cache pool

@return mixed
@access protected
Get value from the cache pool