protected function _beforeRepositoryFetch(AnCommandContext $context)
    {
        $query = $context->query;
        $services = array_keys(ComConnectHelperApi::getServices());
        $query->api($services);
    }
protected function _beforeRepositoryFetch(AnCommandContext $context)
    {
        $query = $context->query;
        $services = array_keys(ComConnectHelperApi::getServices());
        $query->api($services);
    }
protected function _beforeRepositoryFetch ( AnCommandContext $ context ) { $ query = $ context -> query ; $ services = array_keys ( ComConnectHelperApi :: getServices ( ) ) ; $ query -> api ( $ services ) ; }
Modify session query to only bring the sessions that are available.
Modify session query to only bring the sessions that are available .