[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/dependency-injection/ -> ContainerInterface.php (summary)

(no description)

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

Defines 1 class

ContainerInterface:: (7 methods):
  set()
  get()
  has()
  initialized()
  getParameter()
  hasParameter()
  setParameter()


Interface: ContainerInterface  - X-Ref

ContainerInterface is the interface implemented by service container classes.

set($id, $service)   X-Ref
Sets a service.

param: string      $id      The service identifier
param: object|null $service The service instance

get($id, $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE)   X-Ref
Gets a service.

param: string $id              The service identifier
param: int    $invalidBehavior The behavior when the service does not exist
return: object|null The associated service

has($id)   X-Ref
Returns true if the given service is defined.

param: string $id The service identifier
return: bool true if the service is defined, false otherwise

initialized($id)   X-Ref
Check for whether or not a service has been initialized.

param: string $id
return: bool true if the service has been initialized, false otherwise

getParameter($name)   X-Ref
Gets a parameter.

param: string $name The parameter name
return: mixed The parameter value

hasParameter($name)   X-Ref
Checks if a parameter exists.

param: string $name The parameter name
return: bool The presence of parameter in container

setParameter($name, $value)   X-Ref
Sets a parameter.

param: string $name  The parameter name
param: mixed  $value The parameter value



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