class BlackholeMetadataFactory extends BlackHoleMetadataFactory

deprecated since version 2.5, to be removed in 3.0. Use {@link Factory\BlackHoleMetadataFactory} instead.

Alias of {@link Factory\BlackHoleMetadataFactory}.

Methods

getMetadataFor(mixed $value)

Returns the metadata for the given value.

bool
hasMetadataFor(mixed $value)

Returns whether the class is able to return metadata for the given value.

Details

in BlackHoleMetadataFactory at line line 28
MetadataInterface getMetadataFor(mixed $value)

Returns the metadata for the given value.

Parameters

mixed $value Some value

Return Value

MetadataInterface The metadata for the value

Exceptions

NoSuchMetadataException If no metadata exists for the given value

in BlackHoleMetadataFactory at line line 36
bool hasMetadataFor(mixed $value)

Returns whether the class is able to return metadata for the given value.

Parameters

mixed $value Some value

Return Value

bool Whether metadata can be returned for that value