symfony / 4.1 / symfony / component / serializer / normalizer / cacheablesupportsmethodinterface.html

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

Details

bool hasCacheableSupportsMethod()

Return Value

bool