Swift_DependencyContainer::register
Register a new dependency with $itemName.
This method returns the current DependencyContainer instance because it requires the use of the fluid interface to set the specific details for the dependency.
Signature
public function register(string
$itemName )
Parameters
$itemName
— string
Returns
- Swift_DependencyContainer