Namespaces

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

Classes

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

Exceptions

  • MissingServiceException
  • ServiceCreationException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (https://nette.org)
 5:  * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 6:  */
 7: 
 8: namespace Nette\DI;
 9: 
10: use Nette;
11: 
12: 
13: /**
14:  * Assignment or calling statement.
15:  *
16:  * @author     David Grudl
17:  *
18:  * @method Statement setEntity(string|array|Nette\DI\ServiceDefinition|NULL)
19:  * @method string getEntity()
20:  */
21: class Statement extends Nette\Object
22: {
23:     /** @var string|array|ServiceDefinition|NULL  class|method|$property */
24:     private $entity;
25: 
26:     /** @var array */
27:     public $arguments;
28: 
29: 
30:     public function __construct($entity, array $arguments = array())
31:     {
32:         $this->entity = $entity;
33:         $this->arguments = $arguments;
34:     }
35: 
36: }
37: 
Nette 2.2 API documentation generated by ApiGen 2.8.0