[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

/vendor/psr/container/src/ -> ContainerInterface.php (summary)

(no description)

File Size: 36 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ContainerInterface:: (2 methods):
  get()
  has()


Interface: ContainerInterface  - X-Ref

Describes the interface of a container that exposes methods to read its entries.

get(string $id)   X-Ref
Finds an entry of the container by its identifier and returns it.

return: mixed Entry.
param: string $id Identifier of the entry to look for.

has(string $id)   X-Ref
Returns true if the container can return an entry for the given identifier.
Returns false otherwise.

`has($id)` returning true does not mean that `get($id)` will not throw an exception.
It does however mean that `get($id)` will not throw a `NotFoundExceptionInterface`.

return: bool
param: string $id Identifier of the entry to look for.



Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1