IModel
Model provides a convention for separating business logic from application logic.
When using a model you’re providing a globally accessible API for other modules to access, which will boost interoperability among modules in your web application.
Synopsis
Section titled “Synopsis”interface IModel
| Implemented by | ISingletonModel, Model |
| Since | 1.0.0 |
| Source | Model/IModel.php |
Methods
Section titled “Methods”| Method | Description |
|---|---|
getContext(): Context |
getContext()
Section titled “getContext()”abstract public function getContext(): Context
Returns Context