server/vendor/zendframework/zendservice-google-gcm/library/ZendService/Google/Gcm/Response.php
/**
     * Correlate Message and Result
     *
     * @return array
     */
Correlate Message and Result
@return array
Correlate Message and Result @return array
protected function correlate()
    {
        $results = $this->results;
        if ($this->message && $results) {
            $ids = $this->message->getRegistrationIds();
            while($id = array_shift($ids)) {
                $results[$id] = array_shift($results);
            }
        }
        return $results;
    }
protected function correlate ( ) { $ results = $ this -> results ; if ( $ this -> message && $ results ) { $ ids = $ this -> message -> getRegistrationIds ( ) ; while ( $ id = array_shift ( $ ids ) ) { $ results [ $ id ] = array_shift ( $ results ) ; } } return $ results ; }
Correlate Message and Result
 @return array
Correlate Message and Result @return array