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: * @package Nette\DI
7: */
8:
9:
10:
11: /**
12: * Assignment or calling statement.
13: *
14: * @author David Grudl
15: * @package Nette\DI
16: */
17: class DIStatement extends Object
18: {
19: /** @var string class|method|$property */
20: public $entity;
21:
22: /** @var array */
23: public $arguments;
24:
25:
26: public function __construct($entity, array $arguments = array())
27: {
28: $this->entity = $entity;
29: $this->arguments = $arguments;
30: }
31:
32: }
33: