src/Mcfedr/AwsPushBundle/Message/Message.php
private function getAndroidJsonInner(?string $text): array
    {
        $data = [];
        if (null !== $text) {
            $data['message'] = $text;
        }

        if (null !== $this->localizedKey) {
            $data['message-loc-key'] = $this->localizedKey;
            if ($this->localizedArguments) {
                $data['message-loc-args'] = $this->localizedArguments;
            }
        }

        return $data;
    }
private function getAndroidJsonInner(?string $text): array
    {
        $data = [];
        if (null !== $text) {
            $data['message'] = $text;
        }

        if (null !== $this->localizedKey) {
            $data['message-loc-key'] = $this->localizedKey;
            if ($this->localizedArguments) {
                $data['message-loc-args'] = $this->localizedArguments;
            }
        }

        return $data;
    }
private function getAndroidJsonInner ( ? string $ text ) : array { $ data = [ ] ; if ( null !== $ text ) { $ data [ 'message' ] = $ text ; } if ( null !== $ this -> localizedKey ) { $ data [ 'message-loc-key' ] = $ this -> localizedKey ; if ( $ this -> localizedArguments ) { $ data [ 'message-loc-args' ] = $ this -> localizedArguments ; } } return $ data ; }
Gets the base of the data for the android platforms, with text and localization keys.
Gets the base of the data for the android platforms with text and localization keys .