class TopicRegistry

Class TopicRegistry

Properties

protected TopicInterface[] $topics

Methods

__construct()

TopicRegistry constructor.

addTopic(TopicInterface $topic)

No description

getTopic(string $topicName)

No description

Details

at line 20
__construct()

TopicRegistry constructor.

at line 30
addTopic(TopicInterface $topic)

Parameters

TopicInterface $topic

Exceptions

Exception

at line 42
TopicInterface getTopic(string $topicName)

Parameters

string $topicName

Return Value

TopicInterface

Exceptions

Exception