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
    • Reflection
    • Security
    • Tokenizer
    • Utils
  • Tracy
    • Bridges
      • Nette
  • none

Classes

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

Class InjectExtension

Calls inject methods and fills @inject properties.

Nette\DI\CompilerExtension uses Nette\SmartObject
Extended by Nette\DI\Extensions\InjectExtension
Namespace: Nette\DI\Extensions
Located at DI/Extensions/InjectExtension.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 static
# callInjects( Nette\DI\Container $container, $service )

Calls all methods starting with with "inject" using autowiring.

Calls all methods starting with with "inject" using autowiring.

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()
Constants summary
string TAG_INJECT
#'inject'
Properties inherited from Nette\DI\CompilerExtension
$compiler, $config, $name
Nette 2.4-20170829 API API documentation generated by ApiGen 2.8.0