public function RequestBuilder::dump in Auth0 Single Sign On 8.2
Return value
Deprecated
5.6.0, no alternative provided.
File
- vendor/
auth0/ auth0-php/ src/ API/ Helpers/ RequestBuilder.php, line 215
Class
- RequestBuilder
- Class RequestBuilder
Namespace
Auth0\SDK\API\HelpersCode
public function dump() {
echo '<pre>';
echo "METHOD: {$this->method}\n";
echo "URL: {$this->getUrl()}\n";
echo "HEADERS:\n\t";
echo implode("\n\t", array_map(function ($k, $v) {
return "{$k}: {$v}";
}, array_keys($this->headers), $this->headers));
echo "\n";
echo "BODY: {$this->body}\n";
echo '</pre>';
return $this;
}