lib/Yucca/Component/Source/Memcached.php
public function load(array $identifier, $rawData, $shardingKey)
    {
        $datas = $this->getConnection()->get($this->getCacheKey($identifier));

        if (false === $datas) {
            throw new NoDataException("No datas found in cache for \"{$this->sourceName}\" with identifiers ".var_export($identifier, true));
        }


        if ($rawData) {
            return $datas;
        } else {
            return $this->dataParser->decode($datas, $this->configuration['fields']);
        }
    }
public function load(array $identifier, $rawData, $shardingKey)
    {
        $datas = $this->getConnection()->get($this->getCacheKey($identifier));

        if (false === $datas) {
            throw new NoDataException("No datas found in cache for \"{$this->sourceName}\" with identifiers ".var_export($identifier, true));
        }


        if ($rawData) {
            return $datas;
        } else {
            return $this->dataParser->decode($datas, $this->configuration['fields']);
        }
    }
public function load ( array $ identifier , $ rawData , $ shardingKey ) { $ datas = $ this -> getConnection ( ) -> get ( $ this -> getCacheKey ( $ identifier ) ) ; if ( false === $ datas ) { throw new NoDataException ( "No datas found in cache for \"{$this->sourceName}\" with identifiers " . var_export ( $ identifier , true ) ) ; } if ( $ rawData ) { return $ datas ; } else { return $ this -> dataParser -> decode ( $ datas , $ this -> configuration [ 'fields' ] ) ; } }
@param array $identifier
@param bool  $rawData
@param mixed $shardingKey

@return array|mixed
@throws NoDataException
@throws \Exception
@param array $identifier @param bool $rawData @param mixed $shardingKey