Joomla\DI\Container::getNewInstance
Method to force the container to return a new instance of the results of the callback for requested $key.
Signature
public function getNewInstance(string
$key )
Parameters
-
$key
- Name of the dataStore key to get.
Returns
- mixed
- Results of running the $callback for the specified $key.