public function onGetShareAdapters(AnEvent $event)
    {
        $adapters = $event->adapters;
        $request = $event->request;
        $this->getService('repos:connect.session');
        $sessions = $request->target->sessions;
        foreach ($sessions as $session) {
            $identifier = $this->getIdentifier('com:connect.sharer.'.$session->get('api'));
            $sharer = $this->getService($identifier, array('session' => $session->api));
            $adapters[] = $sharer;
        }
    }
public function onGetShareAdapters(AnEvent $event)
    {
        $adapters = $event->adapters;
        $request = $event->request;
        $this->getService('repos:connect.session');
        $sessions = $request->target->sessions;
        foreach ($sessions as $session) {
            $identifier = $this->getIdentifier('com:connect.sharer.'.$session->get('api'));
            $sharer = $this->getService($identifier, array('session' => $session->api));
            $adapters[] = $sharer;
        }
    }
public function onGetShareAdapters ( AnEvent $ event ) { $ adapters = $ event -> adapters ; $ request = $ event -> request ; $ this -> getService ( 'repos:connect.session' ) ; $ sessions = $ request -> target -> sessions ; foreach ( $ sessions as $ session ) { $ identifier = $ this -> getIdentifier ( 'com:connect.sharer.' . $ session -> get ( 'api' ) ) ; $ sharer = $ this -> getService ( $ identifier , array ( 'session' => $ session -> api ) ) ; $ adapters [ ] = $ sharer ; } }
Called for getting share adapters.

@param AnEvent $event
Called for getting share adapters .