Swift_DependencyContainer::asSharedInstanceOf
Specify the previously registered item as a shared instance of $className.
{@link register()} must be called before this will work.
Signature
public function asSharedInstanceOf(string
$className )
Parameters
$className
— string
Returns
- Swift_DependencyContainer