web/lib/Zend/Mobile/Push/Response/Gcm.php
changeset 1230 68c69c656a2c
parent 808 6b6c2214f778
equal deleted inserted replaced
1229:5a6b6e770365 1230:68c69c656a2c
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Mobile
    16  * @package    Zend_Mobile
    17  * @subpackage Zend_Mobile_Push
    17  * @subpackage Zend_Mobile_Push
    18  * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  * @version    $Id$
    20  * @version    $Id$
    21  */
    21  */
    22 
    22 
    23 /**
    23 /**
    24  * Gcm Response
    24  * Gcm Response
    25  *
    25  *
    26  * @category   Zend
    26  * @category   Zend
    27  * @package    Zend_Mobile
    27  * @package    Zend_Mobile
    28  * @subpackage Zend_Mobile_Push
    28  * @subpackage Zend_Mobile_Push
    29  * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
    29  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    30  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    30  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    31  * @version    $Id$
    31  * @version    $Id$
    32  */
    32  */
    33 class Zend_Mobile_Push_Response_Gcm
    33 class Zend_Mobile_Push_Response_Gcm
    34 {
    34 {
   136     }
   136     }
   137 
   137 
   138     /**
   138     /**
   139      * Set Response
   139      * Set Response
   140      *
   140      *
   141      * @param array $response
   141      * @param  array $response
       
   142      * @throws Zend_Mobile_Push_Exception
   142      * @return Zend_Mobile_Push_Response_Gcm
   143      * @return Zend_Mobile_Push_Response_Gcm
   143      */
   144      */
   144     public function setResponse(array $response)
   145     public function setResponse(array $response)
   145     {
   146     {
   146         if (!isset($response['results']) ||
   147         if (!isset($response['results']) ||