{"action":"opened","issue":{"url":"https://api.github.com/repos/voryx/Thruway/issues/144","labels_url":"https://api.github.com/repos/voryx/Thruway/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/voryx/Thruway/issues/144/comments","events_url":"https://api.github.com/repos/voryx/Thruway/issues/144/events","html_url":"https://github.com/voryx/Thruway/issues/144","id":113600018,"number":144,"title":"call internal service from other class","user":{"login":"patie","id":760932,"avatar_url":"https://avatars.githubusercontent.com/u/760932?v=3","gravatar_id":"","url":"https://api.github.com/users/patie","html_url":"https://github.com/patie","followers_url":"https://api.github.com/users/patie/followers","following_url":"https://api.github.com/users/patie/following{/other_user}","gists_url":"https://api.github.com/users/patie/gists{/gist_id}","starred_url":"https://api.github.com/users/patie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patie/subscriptions","organizations_url":"https://api.github.com/users/patie/orgs","repos_url":"https://api.github.com/users/patie/repos","events_url":"https://api.github.com/users/patie/events{/privacy}","received_events_url":"https://api.github.com/users/patie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-27T14:42:05Z","updated_at":"2015-10-27T14:42:05Z","closed_at":null,"body":"Hi,\r\n\r\ni need publish message from listener (or other class) in some cases, but i must call internal client, because in internal client we have stored properties with some data.\r\n\r\nI tried register internal client as a service, put this service into $router->addInternalClient(SERVICE HERE) and call method from this service where i need BUT $this->session->publish() doesnt work, because session was empty..\r\n\r\ncan somebody help me? where im wrong, or what is better way? thank you!\r\n"}}