blutorange / baryllium

BA student portal
Other
0 stars 1 forks source link

Context as singleton #15

Closed blutorange closed 7 years ago

blutorange commented 7 years ago

Currently, the context is set as

Most abstract classes provide the context via a getContext, this is how it should be.

To make this a little bit cleaner, we should make class Context a singleton with Context::getInstance and update all references.