ContainerBuilder::register()

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
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.