Swift_DependencyContainer::asNewInstanceOf
Specify the previously registered item as a new instance of $className.
must be called before this will work. Any arguments can be set with , or .
Signature
public function asNewInstanceOf(string
$className )
Parameters
$className
— string
Returns
- Swift_DependencyContainer