Class: Repo

Repo()

The class hold a collectoin of subjects typical proxies.

Constructor

new Repo()

Source:

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