src/Matcher/ToReceive.php
protected function _watch($message)
    {
        $reference = $message->reference();
        if (!$reference) {
            Suite::register($message->name());
            return $message;
        }
        if (is_object($reference)) {
            Suite::register(get_class($reference));
        }
        Suite::register(Suite::hash($reference));
        return $message;
    }
protected function _watch($message)
    {
        $reference = $message->reference();
        if (!$reference) {
            Suite::register($message->name());
            return $message;
        }
        if (is_object($reference)) {
            Suite::register(get_class($reference));
        }
        Suite::register(Suite::hash($reference));
        return $message;
    }
protected function _watch ( $ message ) { $ reference = $ message -> reference ( ) ; if ( ! $ reference ) { Suite :: register ( $ message -> name ( ) ) ; return $ message ; } if ( is_object ( $ reference ) ) { Suite :: register ( get_class ( $ reference ) ) ; } Suite :: register ( Suite :: hash ( $ reference ) ) ; return $ message ; }
Watch a message.

@param Message $message The message instance

@return Message
Watch a message .