Overview

Namespaces

  • Budovy
  • Kdyby
    • BootstrapFormRenderer
      • DI
      • Latte
  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • Nextras
    • Datagrid
  • None
  • PHP
  • Tester
    • CodeCoverage
    • Runner
      • Output
  • Vodacek
    • Forms
      • Controls
  • WebLoader
    • Filter
    • Nette

Classes

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

Exceptions

  • MissingServiceException
  • ServiceCreationException
  • Overview
  • Namespace
  • Class
  • Tree

Class ServiceDefinition

Definition used by ContainerBuilder.

Nette\Object
Extended by Nette\DI\ServiceDefinition
Namespace: Nette\DI
Author: David Grudl
Located at vendor/nette/nette/Nette/DI/ServiceDefinition.php
Methods summary
public
# setClass( mixed $class, array $args = array() )
public
# setFactory( mixed $factory, array $args = array() )
public
# setArguments( array $args = array() )
public
# addSetup( mixed $target, array $args = array() )
public
# setParameters( array $params )
public
# addTag( mixed $tag, mixed $attrs = TRUE )
public
# setAutowired( mixed $on )
public
# setInject( mixed $on )
public
# setImplement( mixed $implement )
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public string $class
#

class or interface name

class or interface name

public Nette\DI\Statement $factory
#
public Nette\DI\Statement[] $setup array()
#
public array $parameters array()
#
public array $tags array()
#
public mixed $autowired TRUE
#
public boolean $shared TRUE
#
public boolean $inject FALSE
#
public string $implement
#

interface name

interface name

public mixed $implementType
#
Magic properties inherited from Nette\Object
$reflection
API documentation generated by ApiGen 2.8.0