protected function addRequestFields($deviceTokens, $message)
    {

        $params = $this->cleanConfigParams();

        $message = $this->buildMessage($message);

        return array_merge($params, $message, ['registration_ids'  => $deviceTokens]);
    }
protected function addRequestFields($deviceTokens, $message)
    {

        $params = $this->cleanConfigParams();

        $message = $this->buildMessage($message);

        return array_merge($params, $message, ['registration_ids'  => $deviceTokens]);
    }
protected function addRequestFields ( $ deviceTokens , $ message ) { $ params = $ this -> cleanConfigParams ( ) ; $ message = $ this -> buildMessage ( $ message ) ; return array_merge ( $ params , $ message , [ 'registration_ids' => $ deviceTokens ] ) ; }
Set the needed fields for the push notification

@param $deviceTokens
@param $message
@return array
Set the needed fields for the push notification