@@ -39,7 +39,7 @@ |
||
39 | 39 | * |
40 | 40 | * @access public |
41 | 41 | * @param string $className class-name to create objects for |
42 | - * @param ReflectionClass $reflectionClass reflection-class for class. default: NULL |
|
42 | + * @param \ReflectionClass $reflectionClass reflection-class for class. default: NULL |
|
43 | 43 | * @param boolean $storeRef wether to store a reference for new instance. default: true |
44 | 44 | * @return |
45 | 45 | */ |
@@ -83,7 +83,6 @@ |
||
83 | 83 | * @param ObjectEventDispatcher $dispatcher the dispatcher to dispatch the event |
84 | 84 | * @param mixed $subject the subject for the event |
85 | 85 | * @param string $name the name of the event |
86 | - * @param array $parameters the headers for the event |
|
87 | 86 | * @return |
88 | 87 | */ |
89 | 88 | public function buildAndDispatch(ObjectEventDispatcher $dispatcher, $subject, $name, array $headers = array()){ |
@@ -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) |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | * @access public |
24 | 24 | * @param string $name name of the event |
25 | 25 | * @param \PEIP\INF\Event\Event $object an event object |
26 | - * @return boolean |
|
26 | + * @return boolean|null |
|
27 | 27 | */ |
28 | 28 | public function notify($name, $object){ |
29 | 29 | if($object instanceof \PEIP\INF\Event\Event){ |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * @param array $headers headers of the event-object as key/value pairs |
54 | 54 | * @param string $eventClass event-class to create instances from |
55 | 55 | * @return |
56 | - * @see EventBuilder |
|
56 | + boolean|null @see EventBuilder |
|
57 | 57 | */ |
58 | 58 | public function buildAndNotify($name, $object, array $headers = array(), $eventClass = false, $type = false){ |
59 | 59 | if(!$this->hasListeners($name, ($object))){ |
@@ -38,7 +38,7 @@ |
||
38 | 38 | |
39 | 39 | /** |
40 | 40 | * @access public |
41 | - * @param $name |
|
41 | + * @param string $name |
|
42 | 42 | * @param Callable|PEIP\INF\Handler\Handler $listener |
43 | 43 | * @return |
44 | 44 | */ |
@@ -80,7 +80,6 @@ |
||
80 | 80 | * |
81 | 81 | * @access public |
82 | 82 | * @param string $name name of the event |
83 | - * @param Callable|PEIP\INF\Handler\Handler $listener listener to connect |
|
84 | 83 | * @return |
85 | 84 | */ |
86 | 85 | public function disconnectAll($name){ |
@@ -54,7 +54,7 @@ |
||
54 | 54 | * @see PEIP\ABS\Handler\MessageHandler::doSetInputChannel |
55 | 55 | * @access public |
56 | 56 | * @param \PEIP\INF\Channel\Channel $inputChannel the input-channel |
57 | - * @return PEIP\ABS\Handler\MessageHandler $this; |
|
57 | + * @return MessageHandler $this; |
|
58 | 58 | */ |
59 | 59 | public function setInputChannel(\PEIP\INF\Channel\Channel $inputChannel){ |
60 | 60 | $this->doSetInputChannel($inputChannel); |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * Connects the handler to the output-channel. |
52 | 52 | * |
53 | 53 | * @access protected |
54 | - * @param \PEIP\INF\Channel\Channel $inputChannel the output-channel to connect the handler to |
|
54 | + * @param \PEIP\INF\Channel\Channel $outputChannel the output-channel to connect the handler to |
|
55 | 55 | * @return |
56 | 56 | */ |
57 | 57 | protected function doSetOutputChannel(\PEIP\INF\Channel\Channel $outputChannel){ |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | * |
161 | 161 | * @access public |
162 | 162 | * @param string $messageClass name of the message-class to create reply-messages from. |
163 | - * @return PEIP\ABS\Handler\ReplyProducingMessageHandler $this |
|
163 | + * @return ReplyProducingMessageHandler $this |
|
164 | 164 | */ |
165 | 165 | public function setMessageClass($messageClass){ |
166 | 166 | $this->messageClass = $messageClass; |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | * |
194 | 194 | * @access public |
195 | 195 | * @param array $headerNames array of message-header names to look for a reply-channel |
196 | - * @return PEIP\ABS\Handler\ReplyProducingMessageHandler $this |
|
196 | + * @return ReplyProducingMessageHandler $this |
|
197 | 197 | */ |
198 | 198 | public function setReplyChannelHeaders(array $headerNames){ |
199 | 199 | $this->replyChannelHeaders = $headerNames; |