Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • AbstractCacheAdapter
  • CacheAdapterFactory
  • ClosureCacheAdapter
  • DoctrineCacheAdapter
  • NullCacheAdapter
  • Zf1CacheAdapter
  • Zf2CacheAdapter

Interfaces

  • CacheAdapterInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class NullCacheAdapter

Null cache adapter

Guzzle\Cache\AbstractCacheAdapter implements Guzzle\Cache\CacheAdapterInterface
Extended by Guzzle\Cache\NullCacheAdapter
Namespace: Guzzle\Cache
Located at src/Guzzle/Cache/NullCacheAdapter.php
Methods summary
public
# __construct( )
public boolean
# contains( string $id, array $options = null )

Test if an entry exists in the cache.

Test if an entry exists in the cache.

Parameters

$id
cache id The cache id of the entry to check for.
$options
Array of cache adapter options

Returns

boolean
Returns TRUE if a cache entry exists for the given cache id, FALSE otherwise.
public boolean
# delete( string $id, array $options = null )

Deletes a cache entry.

Deletes a cache entry.

Parameters

$id
cache id
$options
Array of cache adapter options

Returns

boolean
TRUE on success, FALSE on failure
public string
# fetch( string $id, array $options = null )

Fetches an entry from the cache.

Fetches an entry from the cache.

Parameters

$id
cache id The id of the cache entry to fetch.
$options
Array of cache adapter options

Returns

string
The cached data or FALSE, if no cache entry exists for the given id.
public boolean
# save( string $id, string $data, integer|boolean $lifeTime = false, array $options = null )

Puts data into the cache.

Puts data into the cache.

Parameters

$id
The cache id
$data
The cache entry/data
$lifeTime
The lifetime. If != false, sets a specific lifetime for this cache entry
$options
Array of cache adapter options

Returns

boolean
TRUE if the entry was successfully stored in the cache, FALSE otherwise.
Methods inherited from Guzzle\Cache\AbstractCacheAdapter
getCacheObject()
Properties inherited from Guzzle\Cache\AbstractCacheAdapter
$cache
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen