ModelManager - rbertram90/core GitHub Wiki
Summary
Provides access to models throughout the application without having to construct multiple instances of each
Contents
Static Methods
Public Methods
Static Methods
getInstance
Class implements a variation on the singleton pattern so cannot construct directly. Can have one instance for each database app connects to
rbwebdesigns\core\model\ModelManager getInstance(string $databaseName)
Public Methods
get
mixed get(string $model)
getDatabaseConnection
rbwebdesigns\core\Database getDatabaseConnection()