@@ -71,7 +71,7 @@ |
||
| 71 | 71 | * @see GenericBuilder |
| 72 | 72 | * @static |
| 73 | 73 | * @access protected |
| 74 | - * @param object $className name of class to build instance for. |
|
| 74 | + * @param string $className name of class to build instance for. |
|
| 75 | 75 | * @param array $arguments arguments for the constructor |
| 76 | 76 | * @return object build and modified srvice instance |
| 77 | 77 | */ |
@@ -33,10 +33,10 @@ |
||
| 33 | 33 | * Send a message, blocking until either the message is accepted or the |
| 34 | 34 | * specified timeout period elapses. |
| 35 | 35 | * |
| 36 | - * @param message the {@link Message} to send
|
|
| 37 | - * @param timeout the timeout in milliseconds |
|
| 36 | + * @param message \PEIP\INF\Message\Message {@link Message} to send
|
|
| 37 | + * @param timeout integer timeout in milliseconds |
|
| 38 | 38 | * |
| 39 | - * @return <code>true</code> if the message is sent successfully, |
|
| 39 | + * @return void if the message is sent successfully, |
|
| 40 | 40 | * <code>false</false> if the specified timeout period elapses or |
| 41 | 41 | * the send is interrupted |
| 42 | 42 | */ |
@@ -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()){
|
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * @access public |
| 45 | - * @param $eventName |
|
| 45 | + * @param string $eventName |
|
| 46 | 46 | * @return |
| 47 | 47 | */ |
| 48 | 48 | public function setEventName($eventName){
|
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | * |
| 218 | 218 | * @access protected |
| 219 | 219 | * @param object $config configuration object to create arguments from. |
| 220 | - * @return mixed build arguments |
|
| 220 | + * @return \PEIP\INF\Channel\Channel[] build arguments |
|
| 221 | 221 | */ |
| 222 | 222 | protected function getReplyHandlerArguments($config){
|
| 223 | 223 | $args = array( |
@@ -262,7 +262,8 @@ discard block |
||
| 262 | 262 | * |
| 263 | 263 | * @access protected |
| 264 | 264 | * @param string the configuration type ofthe channel (e.g.: 'reply', 'request') |
| 265 | - * @param object $config configuration object to return channel from. |
|
| 265 | + * @param object $config configuration object to return channel from. |
|
| 266 | + * @param string $type |
|
| 266 | 267 | * @return \PEIP\INF\Channel\Channel reply-channel |
| 267 | 268 | */ |
| 268 | 269 | public function doGetChannel($type, $config){
|
@@ -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))){
|
@@ -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()){
|
@@ -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 | */ |