1 | <?php |
||
5 | class Method |
||
6 | { |
||
7 | /** |
||
8 | * @var Controller |
||
9 | */ |
||
10 | protected $controller; |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $name; |
||
16 | |||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $injectionKeys = array(); |
||
21 | |||
22 | /** |
||
23 | * @param array $methodInjectionInfo |
||
24 | */ |
||
25 | public function __construct(array $methodInjectionInfo = null) |
||
32 | |||
33 | /** |
||
34 | * @param Controller $controller |
||
35 | * @param bool $stopPropagation |
||
36 | * @return $this |
||
37 | */ |
||
38 | public function setController(Controller $controller, $stopPropagation = false) |
||
47 | |||
48 | /** |
||
49 | * @return Controller |
||
50 | */ |
||
51 | public function end() |
||
55 | |||
56 | /** |
||
57 | * @param string $name |
||
58 | * @return $this |
||
59 | */ |
||
60 | public function setName($name) |
||
66 | |||
67 | /** |
||
68 | * @return string |
||
69 | */ |
||
70 | public function getName() |
||
74 | |||
75 | /** |
||
76 | * @param array $injectionKeys |
||
77 | * @return $this |
||
78 | */ |
||
79 | public function setInjectionKeys($injectionKeys) |
||
85 | |||
86 | /** |
||
87 | * @return array |
||
88 | */ |
||
89 | public function getInjectionKeys() |
||
93 | |||
94 | /** |
||
95 | * @return bool |
||
96 | */ |
||
97 | public function hasInjectionKeys() |
||
101 | |||
102 | /** |
||
103 | * @return array |
||
104 | */ |
||
105 | public function __toArray() |
||
113 | } |
||
114 |