Model
in package
AbstractYes
Model
The base abstract model class. Defines the required minimum methods for inheritors as well as magic methods for gaining access to other objects.
Table of Contents
Methods
- __get() : object
- A magic method for referring to objects.
Methods
__get()
A magic method for referring to objects.
public
__get(string $property) : object
Made for more convenient access to objects from the model, as well as for more convenient replacement of objects, if necessary, so that you do not have to change all calls to objects in the entire code.
Parameters
- $property : string