Methods
add(object)
Add an subject to the collection
Parameters:
Name | Type | Description |
---|---|---|
object |
Subject |
- Source:
get(name) → {Subject}
Gets a subject by class name
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The class name of the subject |
- Source:
Throws:
Error
Returns:
If found return the subject otherwise throws an exception
- Type
- Subject