LDLMS_Factory::get_instance( string $model = '', string $key = null, bool $add_instance = true )
Get the current instance of this class or new.
Contents
Description #
Parameters #
- $model
-
(string) (Optional) Unique identifier for model.
Default value: ''
- $key
-
(string) (Optional) Unique identifier for instance.
Default value: null
- $add_instance
-
(bool) (Optional) Whether to add an instance.
Default value: true
Source #
Changelog #
Version | Description |
---|---|
2.5.0 | Introduced. |