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
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
      • Traits
    • Reflection
    • Security
    • Tokenizer
    • Utils
  • Tracy
    • Bridges
      • Nette
  • none

Classes

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

Class DecoratorExtension

Decorators for services.

Nette\DI\CompilerExtension uses Nette\SmartObject
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 used from Nette\SmartObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public array $defaults
#[ 'setup' => [], 'tags' => [], 'inject' => null, ]
Properties inherited from Nette\DI\CompilerExtension
$compiler, $config, $name
Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0