W3cubDocs

/Symfony 4.1

CacheableSupportsMethodInterface

interface CacheableSupportsMethodInterface

Marker interface for normalizers and denormalizers that use only the type and the format in their supports*() methods.

By implementing this interface, the return value of the supports*() methods will be cached by type and format.

Methods

bool hasCacheableSupportsMethod()

Details

bool hasCacheableSupportsMethod()

Return Value

bool