PHP Interface Sulu\Component\HttpCache\CacheLifetimeResolverInterface

Exibir arquivo Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
resolve ( string $type, mixed $value ) : integer Get cache lifetime in seconds.
supports ( string $type, mixed $value ) : boolean Returns true if combination of type and value is supported.

Method Details

resolve() public method

Get cache lifetime in seconds.
public resolve ( string $type, mixed $value ) : integer
$type string
$value mixed
return integer Cache lifetime in seconds

supports() public method

Returns true if combination of type and value is supported.
public supports ( string $type, mixed $value ) : boolean
$type string
$value mixed
return boolean