ClassMetadataFactoryInterface

ClassMetadataFactoryInterface

interface ClassMetadataFactoryInterface

Returns a {see ClassMetadataInterface}.

Methods

ClassMetadataInterface getMetadataFor(string|object $value)

If the method was called with the same class name (or an object of that class) before, the same metadata instance is returned.

bool hasMetadataFor(mixed $value)

Checks if class has metadata.

Details