Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationLatte
      • ApplicationTracy
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsLatte
      • Framework
      • HttpTracy
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • none
  • Tracy

Classes

  • Compiler
  • CompilerExtension
  • Container
  • ContainerBuilder
  • ContainerFactory
  • Helpers
  • ServiceDefinition
  • Statement

Exceptions

  • MissingServiceException
  • ServiceCreationException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class ContainerFactory

DI container generator.

Nette\Object
Extended by Nette\DI\ContainerFactory
Namespace: Nette\DI
Author: David Grudl
Located at DI/ContainerFactory.php
Methods summary
public
# __construct( $tempDirectory )
public Nette\DI\Container
# create( )

Returns

Nette\DI\Container
protected string
# generateCode( )

Returns

string
protected array
# generateConfig( )

Returns

array
protected Nette\DI\Compiler
# createCompiler( )

Returns

Nette\DI\Compiler
protected Nette\DI\Config\Loader
# createLoader( )

Returns

Nette\DI\Config\Loader
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public callable[] $onCompile
#

function (ContainerFactory $factory, Compiler $compiler, $config); Occurs after the compiler is created

function (ContainerFactory $factory, Compiler $compiler, $config); Occurs after the compiler is created

public boolean $autoRebuild FALSE
#
public string $class 'SystemContainer'
#
public string $parentClass 'Nette\DI\Container'
#
public array $config array()
#
public array $configFiles array()
#

[file|array, section]

[file|array, section]

public string $tempDirectory
#
Magic properties inherited from Nette\Object
$reflection
Nette 2.2 API documentation generated by ApiGen 2.8.0