PHP Class Auth0\Tests\CacheDecorator

Inheritance: implements Auth0\SDK\Helpers\Cache\CacheHandler
Show file Open project: auth0/auth0-php Class Usage Examples

Protected Properties

Property Type Description
$cache
$counter

Public Methods

Method Description
__construct ( Auth0\SDK\Helpers\Cache\CacheHandler $cache )
count ( $method )
delete ( $key )
get ( $key )
set ( $key, $value )

Private Methods

Method Description
add_count ( $method )

Method Details

__construct() public method

public __construct ( Auth0\SDK\Helpers\Cache\CacheHandler $cache )
$cache Auth0\SDK\Helpers\Cache\CacheHandler

count() public method

public count ( $method )

delete() public method

public delete ( $key )

get() public method

public get ( $key )

set() public method

public set ( $key, $value )

Property Details

$cache protected property

protected $cache

$counter protected property

protected $counter