lib/Yucca/Component/SourceFactory/MemcachedFactory.php
public function getSource($sourceName, array $params = array())
    {
        if (false === isset($params['connection_name'])) {
            throw new \InvalidArgumentException("Configuration array must contain a 'connection_name' key");
        }
        $connectionConfig = $this->connectionManager->getConnectionConfig($params['connection_name']);
        $toReturn = new Memcached($sourceName, $params, isset($connectionConfig['options']['prefix']) ? $connectionConfig['options']['prefix'] : '');
        $toReturn->setConnectionManager($this->connectionManager);
        $toReturn->setDataParser($this->dataParser);

        return $toReturn;
    }
public function getSource($sourceName, array $params = array())
    {
        if (false === isset($params['connection_name'])) {
            throw new \InvalidArgumentException("Configuration array must contain a 'connection_name' key");
        }
        $connectionConfig = $this->connectionManager->getConnectionConfig($params['connection_name']);
        $toReturn = new Memcached($sourceName, $params, isset($connectionConfig['options']['prefix']) ? $connectionConfig['options']['prefix'] : '');
        $toReturn->setConnectionManager($this->connectionManager);
        $toReturn->setDataParser($this->dataParser);

        return $toReturn;
    }
Build source
@param string $sourceName
@param array  $params
@return \Yucca\Component\Source\Memcache