Packages

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • none

Classes

Interfaces

Exceptions

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Interface IDIContainer

Direct known implementers

DIContainer
Package: Nette\DI
Deprecated
Located at DI/IContainer.php
Methods summary
public
# addService( string $name, mixed $service )

Adds the service to the container.

Adds the service to the container.

Parameters

$name
string
$service
mixed
object, class name or callback
public mixed
# getService( string $name )

Gets the service object.

Gets the service object.

Parameters

$name
string

Returns

mixed
public
# removeService( string $name )

Removes the service from the container.

Removes the service from the container.

Parameters

$name
string
public boolean
# hasService( $name )

Does the service exist?

Does the service exist?

Returns

boolean
Nette Framework 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0