Definition
register(string $id, string $class = null)
Registers a service definition. This methods allows for simple registration of service definition with a fluid interface.
Parameters string $id The service identifier string $class The service class Return Value Definition A Definition instance