class Illuminate / Cache / ApcWrapper

ApcWrapper

Properties

protected

$apcu bool

Indicates if APCu is supported.

Default: false

Methods

public

__construct ( ) : void

Create a new APC wrapper instance.

public

get ( $key ) : mixed

Get an item from the cache.

Parameters

  • $key string
public

put ( $key , $value , $seconds ) : array|bool

Store an item in the cache.

Parameters

  • $key string
  • $value mixed
  • $seconds int
public

increment ( $key , $value ) : int|bool

Increment the value of an item in the cache.

Parameters

  • $key string
  • $value mixed
public

decrement ( $key , $value ) : int|bool

Decrement the value of an item in the cache.

Parameters

  • $key string
  • $value mixed
public

delete ( $key ) : bool

Remove an item from the cache.

Parameters

  • $key string
public

flush ( ) : bool

Remove all items from the cache.