PHP Interface Sulu\Component\HttpCache\CacheLifetimeResolverInterface

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

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

supports() public méthode

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