Joomla\DI\Container::buildSharedObject
Convenience method for building a shared object.
Signature
public function buildSharedObject(string
$key )
Parameters
-
$key
- The class name to build.
Returns
- Instance of class specified by $key with all dependencies injected.