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
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (https://nette.org)
 5:  * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 6:  * @package Nette\DI
 7:  */
 8: 
 9: 
10: 
11: /**
12:  * @deprecated
13:  * @package Nette\DI
14:  */
15: interface IDIContainer
16: {
17: 
18:     /**
19:      * Adds the service to the container.
20:      * @param  string
21:      * @param  mixed  object, class name or callback
22:      * @return void
23:      */
24:     function addService($name, $service);
25: 
26:     /**
27:      * Gets the service object.
28:      * @param  string
29:      * @return mixed
30:      */
31:     function getService($name);
32: 
33:     /**
34:      * Removes the service from the container.
35:      * @param  string
36:      * @return void
37:      */
38:     function removeService($name);
39: 
40:     /**
41:      * Does the service exist?
42:      * @return bool
43:      */
44:     function hasService($name);
45: 
46: }
47: 
Nette Framework 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0