[ Index ]

PHP Cross Reference of phpBB-3.3.14-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.

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

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`.

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



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1