@@ -47,6 +47,9 @@ |
||
47 | 47 | return new DedicatedFactory(array($class, '__construct'), $parameters); |
48 | 48 | } |
49 | 49 | |
50 | + /** |
|
51 | + * @param string[] $callable |
|
52 | + */ |
|
50 | 53 | public static function getfromCallable($callable, array $parameters = array()){ |
51 | 54 | return new DedicatedFactory($callable, $parameters); |
52 | 55 | } |
@@ -112,6 +112,9 @@ |
||
112 | 112 | ); |
113 | 113 | } |
114 | 114 | |
115 | + /** |
|
116 | + * @param string $key |
|
117 | + */ |
|
115 | 118 | public function provideService($key){ |
116 | 119 | $this->doFireEvent(self::EVENT_BEFORE_PROVIDE_SERVICE, array( |
117 | 120 | self::HEADER_KEY=>$key) |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | * |
214 | 214 | * @access protected |
215 | 215 | * @param object $config configuration object to create arguments from. |
216 | - * @return mixed build arguments |
|
216 | + * @return \PEIP\INF\Channel\Channel[] build arguments |
|
217 | 217 | */ |
218 | 218 | protected function getReplyHandlerArguments($config){ |
219 | 219 | $args = array( |
@@ -259,6 +259,7 @@ discard block |
||
259 | 259 | * @access protected |
260 | 260 | * @param string the configuration type ofthe channel (e.g.: 'reply', 'request') |
261 | 261 | * @param object $config configuration object to return channel from. |
262 | + * @param string $type |
|
262 | 263 | * @return \PEIP\INF\Channel\Channel reply-channel |
263 | 264 | */ |
264 | 265 | public function doGetChannel($type, $config){ |
@@ -64,7 +64,6 @@ |
||
64 | 64 | * @static |
65 | 65 | * @access public |
66 | 66 | * @implements \PEIP\INF\Base\Buildable |
67 | - * @param string $name the name of the header |
|
68 | 67 | * @return boolean wether the header is set |
69 | 68 | */ |
70 | 69 | public static function build(array $arguments = array()){ |
@@ -64,7 +64,6 @@ |
||
64 | 64 | /** |
65 | 65 | * Disconnects all listeners. |
66 | 66 | * |
67 | - * @param callable|PEIP\INF\Handler\Handler $listener |
|
68 | 67 | * |
69 | 68 | * @return void |
70 | 69 | */ |
@@ -44,7 +44,7 @@ |
||
44 | 44 | } |
45 | 45 | } |
46 | 46 | |
47 | - //put your code here |
|
47 | + //put your code here |
|
48 | 48 | |
49 | 49 | /** |
50 | 50 | * Creates an event-object with given object as content/subject and notifies |
@@ -81,7 +81,7 @@ |
||
81 | 81 | } |
82 | 82 | } |
83 | 83 | |
84 | - //put your code here |
|
84 | + //put your code here |
|
85 | 85 | |
86 | 86 | /** |
87 | 87 | * Creates an event-object with given object as content/subject and notifies |