Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
SevenShores
Hubspot
Http
Response
toArray
SevenShores\Hubspot\Http\Response::toArray PHP Method
Response Class Documentation
Show file
Open project: fungku/hubspot-php
toArray()
public
method
Return an array of the data.
public
toArray
( ) :
array
return
array
function toArray() { return json_decode(json_encode($this->data), true); }
Response
__construct
__get
getBody
getData
getDataFromResponse
getHeader
getHeaderLine
getHeaders
getProtocolVersion
getReasonPhrase
getStatusCode
hasHeader
offsetExists
offsetGet
offsetSet
offsetUnset
toArray
withAddedHeader
withBody
withHeader
withProtocolVersion
withStatus
withoutHeader