IContainer
extends
ContainerInterface
in
Class IContainer
IContainer is the basic interface to be used for any internal dependency injection mechanism
Tags
Table of Contents
Methods
- get() : T : mixed)
- Finds an entry of the container by its identifier and returns it.
Methods
get()
Finds an entry of the container by its identifier and returns it.
public
get(T>|string $id) : T : mixed)
Parameters
- $id : T>|string
-
Identifier of the entry to look for.
Tags
Attributes
- #[Override]
Return values
T : mixed) —Entry.