Get the payload dictionary.

@return @type array The payload dictionary.
438253
protected function _getPayload()
	{
		$aPayload[self::APPLE_RESERVED_NAMESPACE]['alert'] = array();

		if (isset($this->_sTitle)) {
			$aPayload[self::APPLE_RESERVED_NAMESPACE]['alert']['title'] = (string)$this->_sTitle;
		}

		if (isset($this->_sText)) {
			$aPayload[self::APPLE_RESERVED_NAMESPACE]['alert']['body'] = (string)$this->_sText;
		}

		if (isset($this->_sAction)) {
			$aPayload[self::APPLE_RESERVED_NAMESPACE]['alert']['action'] = (string)$this->_sAction;
		}

		if (isset($this->_aUrlArgs)) {
			$aPayload[self::APPLE_RESERVED_NAMESPACE]['url-args'] = $this->_aUrlArgs;
		}

		return $aPayload;
	}
483915
protected function getPayloads() {
        if (!$this->_payloads) {
            $this->_payloads = new PayloadList(
                $this->version,
                $this->solution['accountSid'],
                $this->solution['referenceSid'],
                $this->solution['sid']
            );
        }

        return $this->_payloads;
    }
25824
public function getData() : array
    {
        $data = [];
        $request = $this->getRequest();
        $method = $request->getMethod();

        switch ($method) {

            //GET
            case Request::METHOD_GET:
                $data = $_GET ?: [];
            break;

            //POST
            case Request::METHOD_POST:
                $data = $_POST ?: [];
            break;

            //Other supported
            case Request::METHOD_DELETE:
            case Request::METHOD_PUT:
            case Request::METHOD_PATCH:
                parse_str($request->getRequestBody(), $data);
            break;

        }

        return $data;
    }
1343556
public function toArray()
    {
        return array_merge($this->wrappedObject->toArray(), [
            'created_at'  => $this->created_at(),
            'updated_at'  => $this->updated_at(),
            'verified_at' => $this->verified_at(),
        ]);
    }
785755
public function toArray()
    {
        $this->dataType('array');
        
        $this->execute();
        
        if ($this->def['savePath']) {
            return $this->save();
        } elseif ($this->def['verbose']) {
            return $this->getVerboseResponse();
        }
        
        return $this->getError() ? : json_decode($this->responseText, true);
    }
521107
public function getData()
    {
        if (null == $this->_response) {
            $response = $this->_responseString;

            try {
                if ($this->getJsonBigintConversion()) {
                    $response = JSON::parse($response, true, 512, JSON_BIGINT_AS_STRING);
                } else {
                    $response = JSON::parse($response);
                }
            } catch (JSONParseException $e) {
                // leave response as is if parse fails
            }

            if (empty($response)) {
                $response = [];
            }

            if (\is_string($response)) {
                $response = ['message' => $response];
            }

            $this->_response = $response;
            $this->_responseString = '';
        }

        return $this->_response;
    }
33197
public function getParameters()
    {
        if (isset($this->payload->params)) {
            /* JSON-RPC 2 can pass named params. For PHP's sake, turn that into a single object param. */
            return is_array($this->payload->params) ? $this->payload->params : array($this->payload->params);
        }
        return array();
    }
822991
public function getUnsigned()
    {
        $payload = [];

        foreach ($this->data as $key => $value) {
            if (in_array($key, $this->accessors)) {
                $payload[$key] = $value;
            } elseif (in_array($key, $this->customFields)) {
                $payload['custom.'.$key] = $value;
            }
        }

        return QueryString::normalize($payload);
    }
124285
protected function getPayloadOffset()
    {
        if (!isset($this->offset_payload)) {
            $offset = $this->getMaskOffset();
            $offset += $this->getMaskSize();

            $this->offset_payload = $offset;
        }
        return $this->offset_payload;
    }
1017413
protected function _payload()
    {
        $results = array();
        foreach( $this->Parameters as $key => $val )
        {
            if ( is_array( $val ) )
            {
                foreach ( $val as $vkey => $vval )
                {
                    $results[] = urlencode( $key ) . '[' . urlencode( $vkey ) . ']=' . urlencode( $vval );
                }
            }
            else
            {
                $results[] = urlencode( $key ) . '=' . urlencode( $val );
            }
        }
        return implode( '&', $results );
    }
624858
function payload()
    {
        if ( $this->Verb == 'GET' || $this->Verb == 'HEAD' || $this->Verb == 'TRACE' )
        {
            return '';
        }
        else
        {
            $params = $this->Parameters;
            if ( $this->NameVar != null )
            {
                $params[$this->NameVar] = $this->Name;
            }
            return $this->_payload( $params );
        }
    }
645032
public function payload()
    {
        if (!$this->payloadCreated) {
            $this->payload = $this->createPayload();
            $this->payloadCreated = true;
        }
        return $this->payload;
    }
915879
public function getPkv()
    {
        $pk = $this->getPk();

        try {
            if (is_array($pk)) {
                $pkv = [];
                foreach ($pk as $pkItem) {
                    $val = $this->getAttrVal($pkItem);
                    $pkv[$pkItem] = $val;
                }
            } else {
                $pkv = $this->getAttrVal($pk);
            }
        } catch (\Exception $e) {
            return null;
        }

        return $pkv;
    }
925621
public function get(): string
    {
        $array = (new ToArrayConverter($this->jory, $this->minified))->get();

        // if array is empty convert into empty object
        // To prevent json being an array [] instead of an object {}
        if (empty($array)) {
            $array = new \stdClass();
        } else {
            $this->fixEmptyRelationArrays($array);
        }

        return json_encode($array);
    }
267816
def get_payload(self, *args, **kwargs):
        """"""
        if not kwargs:
            kwargs = self.default_params
        else:
            kwargs.update(self.default_params)
        for item in args:
            if isinstance(item, dict):
                kwargs.update(item)
        if hasattr(self, 'type_params'):
            kwargs.update(self.type_params(*args, **kwargs))
        return kwargs
255151
def to_dict(self):
        
        rv = dict(self.payload or ())
        rv["message"] = self.message
        return rv
39868
public function getData()
    {
        $data = [];

        $problems = $this->fetcher->fetch();

        $allowedSeverities = [
            Problem::SEVERITY_CRITICAL,
            Problem::SEVERITY_WARNING,
        ];

        foreach ($problems as $problem) {
            if (!in_array($problem->getSeverity(), $allowedSeverities)) {
                continue;
            }

            $data[] = [
                'id' => strlen($problem->getId()) ? $problem->getId() : md5(serialize($problem)),
                'iconCls' => $problem->getIconClass(),
                'severity' => $problem->getSeverity(),
                'msg' => $problem->getMessage(),
                'hint' => $problem->getHint(),
                'link' => $problem->getLink(),
            ];
        }

        if (!count($data)) {
            $data = false;
        }

        return $data;
    }