interface MetadataCollection implements IteratorAggregate, Countable (View source)

Storage of all annotation metadata. This is a possible extension point i.e. for caching layer.

Methods

add(AnnotationMetadata ...$metadatas)

No description

include(MetadataCollection $other)

No description

get(string $name)

No description

has(string $name)

No description

Traversable
getIterator()

No description

count()

No description

Details

add(AnnotationMetadata ...$metadatas)

Parameters

AnnotationMetadata ...$metadatas

Exceptions

MetadataAlreadyExists

include(MetadataCollection $other)

Parameters

MetadataCollection $other

get(string $name)

Parameters

string $name

Exceptions

MetadataDoesNotExist

has(string $name)

Parameters

string $name

Traversable getIterator()

Return Value

Traversable

count()