AppserverIo\Appserver\PersistenceContainer\Doctrine\V2\CacheFactories\ApcCacheFactory::get PHP Method

get() public static method

Return's the new cache instance.
public static get ( array $configuration = [] ) : CacheProvider
$configuration array The cache configuration
return Doctrine\Common\Cache\CacheProvider The cache instance
    public static function get(array $configuration = array())
    {
        if (extension_loaded('apc')) {
            return new ApcCache();
        }
    }
ApcCacheFactory