Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • none

Classes

  • Container
  • ContainerBuilder
  • ServiceDefinition
  • Statement

Interfaces

  • IContainer

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: class Statement extends Nette\Object
19: {
20:     /** @var string  class|method|$property */
21:     public $entity;
22: 
23:     /** @var array */
24:     public $arguments;
25: 
26: 
27:     public function __construct($entity, array $arguments = array())
28:     {
29:         $this->entity = $entity;
30:         $this->arguments = $arguments;
31:     }
32: 
33: }
34: 
Nette 2.0 API documentation generated by ApiGen 2.8.0