Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
WoohooLabs
Harmony
Container
BasicContainer
PHP Class WoohooLabs\Harmony\Container\BasicContainer
Inheritance:
implements
Interop\Container\ContainerInterface
Datei anzeigen
Open project: woohoolabs/harmony
Public Methods
Method
Description
get
(
string
$id
) :
mixed
Finds an entry of the container by its identifier and returns it.
has
(
string
$id
) :
boolean
Returns true if the container can return an entry for the given identifier.
Method Details
get()
public
method
Finds an entry of the container by its identifier and returns it.
public
get
(
string
$id
) :
mixed
$id
string
Identifier of the entry to look for.
return
mixed
Entry
has()
public
method
Returns false otherwise.
public
has
(
string
$id
) :
boolean
$id
string
Identifier of the entry to look for.
return
boolean