Joomla\DI\Container::get
Method to retrieve the results of running the $callback for the specified $key;
Signature
public function get(string
$key,
[boolean
$forceNew = false] )
Parameters
-
$key
- Name of the dataStore key to get.
-
$forceNew
- True to force creation and return of a new instance.
Returns
- mixed
- Results of running the $callback for the specified $key.