1 | <?php |
||
5 | class ConstructArgument |
||
6 | { |
||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | protected $name; |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $containerKey; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $containerMethod; |
||
21 | |||
22 | const CONTAINER_METHOD_GET = 'get'; |
||
23 | const CONTAINER_METHOD_GETPARAMETER = 'getParameter'; |
||
24 | |||
25 | /** |
||
26 | * @param string $name |
||
27 | * @param string $containerKey |
||
28 | */ |
||
29 | public function __construct($name, $containerKey, $containerMethod) |
||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | public function getName() |
||
43 | |||
44 | /** |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getContainerKey() |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getContainerMethod() |
||
59 | } |
||
60 |