The
dump
function dumps the given variables:<?php dump($value);
dump($value1, $value2, $value3, ...);
<?php function dump()
{
dump($this->lastState->getHtml());
return $this;
}
<?php public function dump(...$args)
{
dump($this->all(), ...$args);
return $this;
}
<?php public function dump(...$args)
{
dump(
$this->toSql(),
$this->getBindings(),
...$args,
);
return $this;
}
<?php public function dumpRawSql()
{
dump($this->toRawSql());
return $this;
}
<?php {
$keys = is_array($keys) ? $keys : func_get_args();
dump(count($keys) > 0 ? $this->only($keys) : $this->all());
return $this;
}
<?php public function dump(...$args)
{
dump($this->value, ...$args);
return $this;
}
<?php public function dump(...$args)
{
dump($this, ...$args);
return $this;
}
<?php public function dump(?string $prop = null): self
{
dump($this->prop($prop));
return $this;
}
<?php }
if (! is_null($key)) {
dump(data_get($content, $key));
} else {
dump($content);
}
<?php if (! is_null($key)) {
dump(data_get($content, $key));
} else {
dump($content);
}
return $this;
<?php public function dumpHeaders()
{
dump($this->headers->all());
return $this;
}
<?php $keys = (array) $keys;
if (empty($keys)) {
dump($this->session()->all());
} else {
dump($this->session()->only($keys));
}
<?php if (empty($keys)) {
dump($this->session()->all());
} else {
dump($this->session()->only($keys));
}
return $this;
<?php public function dump(mixed ...$arguments): self
{
if (function_exists('dump')) {
dump($this->value, ...$arguments);
} else {
var_dump($this->value);
}
<?php public function dump($value)
{
dump($value);
}