Client::back()

Crawler back() Goes back in the browser history. Return Value Crawler

Client

class Client extends Client Client simulates a browser and makes requests to a Kernel object. Methods __construct(HttpKernelInterface $kernel, array $server = array(), History $history = null, CookieJar $cookieJar = null) Constructor. followRedirects(bool $followRedirect = true) Sets whether to automatically follow redirects or not. from Client bool isFollowingRedirects() Returns whether client automatically follows redirects or not. from Client setMaxRedirects(int $maxRedir

Client

class Client Client simulates a browser. To make the actual request, you need to implement the doRequest() method. If you want to be able to run requests in their own process (insulated flag), you need to also implement the getScript() method. Methods __construct(array $server = array(), History $history = null, CookieJar $cookieJar = null) Constructor. followRedirects(bool $followRedirect = true) Sets whether to automatically follow redirects or not. bool isFollowingRedirects(

Client

class Client extends Client Client simulates a browser and makes requests to a Kernel object. Methods __construct(HttpKernelInterface $kernel, array $server = array(), History $history = null, CookieJar $cookieJar = null) Constructor. followRedirects(bool $followRedirect = true) Sets whether to automatically follow redirects or not. from Client bool isFollowingRedirects() Returns whether client automatically follows redirects or not. from Client setMaxRedirects(int $maxRedir

CliDumper::setColors()

setColors(bool $colors) Enables/disables colored output. Parameters bool $colors

CliDumper::setStyles()

setStyles(array $styles) Configures styles. Parameters array $styles A map of style names to style definitions

CliDumper::setMaxStringWidth()

setMaxStringWidth(int $maxStringWidth) Sets the maximum number of characters per line for dumped strings. Parameters int $maxStringWidth

CliDumper::leaveHash()

leaveHash(Cursor $cursor, int $type, string $class, bool $hasChild, int $cut) Dumps while leaving an hash. Parameters Cursor $cursor The Cursor position in the dump int $type A Cursor::HASH_* const for the type of hash string $class The object class, resource type or array count bool $hasChild When the dump of the hash has child item int $cut The number of items the hash has been cut by

CliDumper::dumpString()

dumpString(Cursor $cursor, string $str, bool $bin, int $cut) Dumps a string. Parameters Cursor $cursor The Cursor position in the dump string $str The string being dumped bool $bin Whether $str is UTF-8 or binary encoded int $cut The number of characters $str has been cut by

CliDumper::dumpScalar()

dumpScalar(Cursor $cursor, string $type, scalar $value) Dumps a scalar value. Parameters Cursor $cursor The Cursor position in the dump string $type The PHP type of the value being dumped scalar $value The scalar value being dumped