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 InjectExtension

Calls inject methods and fills @inject properties.

Nette\Object
Extended by Nette\DI\CompilerExtension
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 inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants summary
string TAG_INJECT
#'inject'
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