An attribute to tell under which alias a service should be registered or to use the implemented interface if no parameter is given.

CloneableFinalInstantiable
Properties
public ?string $id
public bool $public
Methods
public __construct(?string $id = NULL, bool $public = false)
 
  • param string|null $id The id of the alias
  • param bool $public Whether to declare the alias public
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration