public function History::back in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/browser-kit/History.php \Symfony\Component\BrowserKit\History::back()
Goes back in the history.
Return value
Throws
\LogicException if the stack is already on the first page
File
- vendor/
symfony/ browser-kit/ History.php, line 62
Class
- History
- History.
Namespace
Symfony\Component\BrowserKitCode
public function back() {
if ($this->position < 1) {
throw new \LogicException('You are already on the first page.');
}
return clone $this->stack[--$this->position];
}