Namespaces

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

Classes

  • ConstantsExtension
  • DecoratorExtension
  • DIExtension
  • ExtensionsExtension
  • InjectExtension
  • PhpExtension
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class DecoratorExtension

Decorators for services.

Nette\Object
Extended by Nette\DI\CompilerExtension
Extended by Nette\DI\Extensions\DecoratorExtension
Namespace: Nette\DI\Extensions
Located at DI/Extensions/DecoratorExtension.php
Methods summary
public
# beforeCompile( )

Adjusts DI container before is compiled to PHP class. Intended to be overridden by descendant.

Adjusts DI container before is compiled to PHP class. Intended to be overridden by descendant.

Overrides

Nette\DI\CompilerExtension::beforeCompile()
public
# addSetups( $type, array $setups )
public
# addTags( $type, array $tags )
Methods inherited from Nette\DI\CompilerExtension
afterCompile(), getConfig(), getContainerBuilder(), loadConfiguration(), loadFromFile(), prefix(), setCompiler(), setConfig(), validateConfig()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public array $defaults
#array( 'setup' => array(), 'tags' => array(), 'inject' => NULL, )
Properties inherited from Nette\DI\CompilerExtension
$compiler, $config, $name
Magic properties inherited from Nette\Object
$reflection
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0